diff options
| author | Glenn Morris | 2014-01-29 23:54:28 -0800 |
|---|---|---|
| committer | Glenn Morris | 2014-01-29 23:54:28 -0800 |
| commit | 314ff31814e8b62c72bfd15cfd39535a36e2affe (patch) | |
| tree | b922fe89c4e1171c88b9ed56e0d375e47ce95d49 | |
| parent | 6bbc0c845f910abcd8059c57476a6aa267138318 (diff) | |
| download | emacs-314ff31814e8b62c72bfd15cfd39535a36e2affe.tar.gz emacs-314ff31814e8b62c72bfd15cfd39535a36e2affe.zip | |
* etc/NEWS: ElDoc related edit.
* lisp/emacs-lisp/eldoc.el: Related commentary.
| -rw-r--r-- | etc/NEWS | 7 | ||||
| -rw-r--r-- | lisp/emacs-lisp/eldoc.el | 1 |
2 files changed, 6 insertions, 2 deletions
| @@ -462,7 +462,10 @@ and `desktop-restore-forces-onscreen' offer further customization. | |||
| 462 | ** New Dired minor mode `dired-hide-details-mode' toggles whether details, | 462 | ** New Dired minor mode `dired-hide-details-mode' toggles whether details, |
| 463 | such as file ownership or permissions, are visible. | 463 | such as file ownership or permissions, are visible. |
| 464 | 464 | ||
| 465 | ** Eldoc Mode works properly in the minibuffer. | 465 | --- |
| 466 | ** You can enable ElDoc inside the `eval-expression' minibuffer with: | ||
| 467 | (add-hook 'eval-expression-minibuffer-setup-hook 'eldoc-mode) | ||
| 468 | The results display in the mode line. | ||
| 466 | 469 | ||
| 467 | ** Electric Pair mode | 470 | ** Electric Pair mode |
| 468 | 471 | ||
| @@ -623,7 +626,7 @@ are lined up to the first one. | |||
| 623 | 626 | ||
| 624 | *** Completion in Octave file buffers. | 627 | *** Completion in Octave file buffers. |
| 625 | 628 | ||
| 626 | *** Eldoc support. | 629 | *** ElDoc support. |
| 627 | 630 | ||
| 628 | *** Jump to definition. | 631 | *** Jump to definition. |
| 629 | 632 | ||
diff --git a/lisp/emacs-lisp/eldoc.el b/lisp/emacs-lisp/eldoc.el index 28e80d0e2b4..cedfd44dd1f 100644 --- a/lisp/emacs-lisp/eldoc.el +++ b/lisp/emacs-lisp/eldoc.el | |||
| @@ -39,6 +39,7 @@ | |||
| 39 | ;; (add-hook 'emacs-lisp-mode-hook 'eldoc-mode) | 39 | ;; (add-hook 'emacs-lisp-mode-hook 'eldoc-mode) |
| 40 | ;; (add-hook 'lisp-interaction-mode-hook 'eldoc-mode) | 40 | ;; (add-hook 'lisp-interaction-mode-hook 'eldoc-mode) |
| 41 | ;; (add-hook 'ielm-mode-hook 'eldoc-mode) | 41 | ;; (add-hook 'ielm-mode-hook 'eldoc-mode) |
| 42 | ;; (add-hook 'eval-expression-minibuffer-setup-hook 'eldoc-mode) | ||
| 42 | 43 | ||
| 43 | ;; Major modes for other languages may use ElDoc by defining an | 44 | ;; Major modes for other languages may use ElDoc by defining an |
| 44 | ;; appropriate function as the buffer-local value of | 45 | ;; appropriate function as the buffer-local value of |