bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#27228: eldoc not activated after newline


From: Charles A. Roelli
Subject: bug#27228: eldoc not activated after newline
Date: Sun, 4 Jun 2017 12:14:12 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

From emacs -q, type "(when x RET".  Eldoc doesn't display
anything in the echo area.  I've been using this change to
fix it (i.e., add "newline" to the list of commands after
which eldoc should display):

--- a/lisp/emacs-lisp/eldoc.el
+++ b/lisp/emacs-lisp/eldoc.el
@@ -415,13 +415,13 @@ eldoc-remove-command-completions
 (eldoc-add-command-completions
  "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"
  "mark-paragraph" "mouse-set-point" "move-" "move-beginning-of-"
- "move-end-of-" "next-" "other-window" "pop-global-mark" "previous-"
- "recenter" "right-" "scroll-" "self-insert-command" "split-window-"
- "up-list")
+ "move-end-of-" "next-" "newline" "other-window" "pop-global-mark"
+ "previous-" "recenter" "right-" "scroll-" "self-insert-command"
+ "split-window-" "up-list")

 (provide 'eldoc)

 ;;; eldoc.el ends here






reply via email to

[Prev in Thread] Current Thread [Next in Thread]