aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNoam Postavsky2017-08-19 11:45:07 -0400
committerNoam Postavsky2017-08-27 13:46:41 -0400
commit5440b238b1ec4175dd32bc14b4098f6570b2ca85 (patch)
treefe45d9ac0d9dd8a508810eea07ad1bc59d141ed0 /src
parent79cc9445e182ad5d80380ccf677b947d76854ce8 (diff)
downloademacs-5440b238b1ec4175dd32bc14b4098f6570b2ca85.tar.gz
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 'src')
0 files changed, 0 insertions, 0 deletions