diff options
author | Liu Hui <liuhui1610@gmail.com> | 2024-02-26 18:46:36 +0800 |
---|---|---|
committer | Basil L. Contovounesios <basil@contovou.net> | 2024-03-14 15:09:56 +0100 |
commit | a7057745f5ef903a2655c6d9e7813168e361baf7 (patch) | |
tree | 96c9ebebdd1a3f8c2ffcc2405c3f2961fedadb18 /lisp/emacs-lisp/syntax.el | |
parent | c94d680f6eb46a47549633c7076fe32660b3cd42 (diff) | |
download | emacs-a7057745f5ef903a2655c6d9e7813168e361baf7.tar.gz emacs-a7057745f5ef903a2655c6d9e7813168e361baf7.tar.bz2 emacs-a7057745f5ef903a2655c6d9e7813168e361baf7.zip |
Detect the readline support for Python shell completion
* lisp/progmodes/python.el
(python-shell-comint-watch-for-first-prompt-output-filter):
Detect the readline support.
(python-shell-readline-completer-delims): Update docstring.
(python-shell-completion-native-setup): Move the readline
detection code to ...
(python-shell-readline-detect): ... new function.
(python-shell-completion-native-turn-on-maybe): Skip if Python
has no readline support.
(python-shell-completion-at-point): Respect the delimiter of
readline completer in non-native completion.
* test/lisp/progmodes/python-tests.el
(python-shell-completion-at-point-1)
(python-shell-completion-at-point-native-1)
(python-completion-at-point-1, python-completion-at-point-2)
(python-completion-at-point-pdb-1)
(python-completion-at-point-while-running-1)
(python-completion-at-point-native-1)
(python-completion-at-point-native-2)
(python-completion-at-point-native-with-ffap-1)
(python-completion-at-point-native-with-eldoc-1): Skip tests if
Python has no readline support.
(python-shell-completion-at-point-jedi-completer): Add test for
non-native Python shell completion. (bug#68559)
Diffstat (limited to 'lisp/emacs-lisp/syntax.el')
0 files changed, 0 insertions, 0 deletions