From e24e2e1fa70b9f8e9e1ae1fe34765b57abcf4f19 Mon Sep 17 00:00:00 2001 From: Jorgen Stenarson Date: Fri, 25 Feb 2011 20:22:11 +0100 Subject: [PATCH] Merging r98..99 from 1.6 --- pyreadline/rlmain.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pyreadline/rlmain.py b/pyreadline/rlmain.py index 3e1e387..66e469a 100644 --- a/pyreadline/rlmain.py +++ b/pyreadline/rlmain.py @@ -340,7 +340,10 @@ class BaseReadline(object): def complete_filesystem(delims): self.mode.complete_filesystem = delims.lower() - + + def enable_ipython_paste_for_paths(boolean): + self.mode.enable_ipython_paste_for_paths = boolean + def debug_output(on, filename=u"pyreadline_debug_log.txt"): #Not implemented yet if on in [u"on", u"on_nologfile"]: self.debug=True @@ -392,6 +395,7 @@ class BaseReadline(object): u"allow_ctrl_c":allow_ctrl_c, u"ctrl_c_tap_time_interval":ctrl_c_tap_time_interval, u"kill_ring_to_clipboard":setkill_ring_to_clipboard, + u"enable_ipython_paste_for_paths":enable_ipython_paste_for_paths, } if os.path.isfile(inputrcpath): try: