1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-08 15:30:40 -08:00

ElDoc: Add more commands using 'eldoc-add-command-completions'

Add more commands to 'eldoc-add-command-completions' to fix
disappearing ElDoc help in the minibuffer for the following
cases:
- All modes: Added "comment-indent-new-line".
- All modes: Added "delete-char" for handling when the user presses delete.
- Python mode: Added "python-indent-dedent-line-backspace" for handling
  when the user presses backspace.
* lisp/emacs-lisp/eldoc.el (eldoc-remove-command-completions):
* lisp/progmodes/python.el (python-base-mode): Add more commands
to 'eldoc-add-command-completions'.

Copyright-paperwork-exempt: yes
This commit is contained in:
James Cherti 2025-03-19 11:56:11 -04:00 committed by Eli Zaretskii
parent 20687ab617
commit 1aebb02611
2 changed files with 2 additions and 1 deletions

View file

@ -994,7 +994,7 @@ the docstrings eventually produced, using
;; Prime the command list.
(eldoc-add-command-completions
"back-to-indentation"
"comment-indent-new-line" "delete-char" "back-to-indentation"
"backward-" "beginning-of-" "delete-other-windows" "delete-window"
"down-list" "end-of-" "exchange-point-and-mark" "forward-" "goto-"
"handle-select-window" "indent-for-tab-command" "left-" "mark-page"