projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82b4e48
)
python-shell-completion-at-point: respect simple-operator (Bug#37808)
author
Andrii Kolomoiets
<andreyk.mad@gmail.com>
Fri, 18 Oct 2019 13:04:32 +0000
(16:04 +0300)
committer
Noam Postavsky
<npostavs@gmail.com>
Fri, 13 Dec 2019 12:47:14 +0000
(07:47 -0500)
* lisp/progmodes/python.el (python-shell-completion-at-point): Also
stop on simple-operator while parsing input.
lisp/progmodes/python.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/python.el
b/lisp/progmodes/python.el
index b0d3174eabcdbaf685da49a5fa2ff70d4acecc6e..08ef471f6b074faf11d15ba84c5e569880f5f1e7 100644
(file)
--- a/
lisp/progmodes/python.el
+++ b/
lisp/progmodes/python.el
@@
-3670,7
+3670,7
@@
using that one instead of current buffer's process."
(save-excursion
(if (not (re-search-backward
(python-rx
- (or whitespace open-paren close-paren string-delimiter))
+ (or whitespace open-paren close-paren string-delimiter
simple-operator
))
line-start
t 1))
line-start