[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 51d3c95: python-shell-completion-at-point: respect simple-operato
From: |
Noam Postavsky |
Subject: |
master 51d3c95: python-shell-completion-at-point: respect simple-operator (Bug#37808) |
Date: |
Fri, 13 Dec 2019 07:55:51 -0500 (EST) |
branch: master
commit 51d3c95147efa80fd3e09c90705439517e8fb6ca
Author: Andrii Kolomoiets <address@hidden>
Commit: Noam Postavsky <address@hidden>
python-shell-completion-at-point: respect simple-operator (Bug#37808)
* lisp/progmodes/python.el (python-shell-completion-at-point): Also
stop on simple-operator while parsing input.
---
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 b0d3174..08ef471 100644
--- 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 51d3c95: python-shell-completion-at-point: respect simple-operator (Bug#37808),
Noam Postavsky <=