Subject: eldoc not activated after newline

From: "Charles A. Roelli" <[email-masked]>
Date: Sun, 4 Jun 2017 12:14:12 +0200

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