summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/bytecomp.el
diff options
context:
space:
mode:
authorNoam Postavsky <npostavs@gmail.com>2017-08-19 11:45:07 -0400
committerNoam Postavsky <npostavs@gmail.com>2017-08-27 13:46:41 -0400
commit5440b238b1ec4175dd32bc14b4098f6570b2ca85 (patch)
treefe45d9ac0d9dd8a508810eea07ad1bc59d141ed0 /lisp/emacs-lisp/bytecomp.el
parent79cc9445e182ad5d80380ccf677b947d76854ce8 (diff)
downloademacs-5440b238b1ec4175dd32bc14b4098f6570b2ca85.tar.gz
emacs-5440b238b1ec4175dd32bc14b4098f6570b2ca85.tar.bz2
emacs-5440b238b1ec4175dd32bc14b4098f6570b2ca85.zip
Disable completion while entering python multiline statements
The "legacy" completion mechanism sends newlines to the running python process to get the list of completions, which confuses things if the user is in the middle of entering a multiline statement (Bug#28051). It's better to disable completion in this case. * lisp/progmodes/python.el (python-shell--block-prompt): New variable. (python-shell-prompt-set-calculated-regexps): Set it. (python-shell-completion-at-point): Return 'ignore' as the completion function when the current prompt is a block prompt.
Diffstat (limited to 'lisp/emacs-lisp/bytecomp.el')
0 files changed, 0 insertions, 0 deletions