]> code.delx.au - gnu-emacs/commit
Re-implement the feature of showing eldoc info after editing.
authorLeo Liu <sdl.web@gmail.com>
Sun, 12 Jan 2014 04:00:03 +0000 (12:00 +0800)
committerLeo Liu <sdl.web@gmail.com>
Sun, 12 Jan 2014 04:00:03 +0000 (12:00 +0800)
commit9b335362d0a968be76188b463512ee6b9c5ae901
tree634f1f6997376455af68615b318d8e91f90384d5
parent4efa3f1e0e66a7d84b0807c7b5d263e32f54a4e3
Re-implement the feature of showing eldoc info after editing.

* emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
(eldoc-edit-message-commands): New function.
(eldoc-print-after-edit): New variable.
(eldoc-pre-command-refresh-echo-area): Emit message only by
eldoc-message-commands.
(eldoc-mode): Restrict eldoc-message-commands to editing commands
if eldoc-print-after-edit is set.

* progmodes/octave.el (octave-mode-menu): Adapt to change in
eldoc.

Fixes: debbugs:16346
lisp/ChangeLog
lisp/emacs-lisp/eldoc.el
lisp/progmodes/octave.el
lisp/simple.el