diff --git a/lisp/emacs-lisp/eldoc.el b/lisp/emacs-lisp/eldoc.el index 966158024dd..85fb6c780e2 100644 --- a/lisp/emacs-lisp/eldoc.el +++ b/lisp/emacs-lisp/eldoc.el @@ -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" diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 741b94e187b..b6db6097d9f 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -7147,6 +7147,7 @@ implementations: `python-mode' and `python-ts-mode'." (add-hook 'eldoc-documentation-functions #'python-eldoc-function nil t) (add-function :before-until (local 'eldoc-documentation-function) #'python-eldoc-function)))) + (eldoc-add-command-completions "python-indent-dedent-line-backspace") ;; TODO: Use tree-sitter to figure out the block in `python-ts-mode'. (dolist (mode '(python-mode python-ts-mode))