emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 6f8fe0d: Make python-shell-prompt-block-regexp matc


From: Noam Postavsky
Subject: [Emacs-diffs] master 6f8fe0d: Make python-shell-prompt-block-regexp match IPython prompt
Date: Tue, 16 Apr 2019 20:10:04 -0400 (EDT)

branch: master
commit 6f8fe0d5acf0aa62a39b274217ac28fc1764840e
Author: Andrii Kolomoiets <address@hidden>
Commit: Noam Postavsky <address@hidden>

    Make python-shell-prompt-block-regexp match IPython prompt
    
    * lisp/progmodes/python.el (python-shell-prompt-block-regexp): Match
    also IPython's multiline prompt.  It allows to correctly disable
    non-native completions during multiline statement in
    inferior-python-mode that runs IPython interpreter (Bug#34582).
    
    Copyright-paperwork-exempt: yes
---
 lisp/progmodes/python.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index b05f9a3..5193501 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -2003,7 +2003,7 @@ position, else returns nil."
 It should not contain a caret (^) at the beginning."
   :type 'string)
 
-(defcustom python-shell-prompt-block-regexp "\\.\\.\\. "
+(defcustom python-shell-prompt-block-regexp "\\.\\.\\.:? "
   "Regular expression matching block input prompt of Python shell.
 It should not contain a caret (^) at the beginning."
   :type 'string)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]