diff options
| author | João Távora | 2022-07-20 00:24:44 +0100 |
|---|---|---|
| committer | João Távora | 2022-07-20 00:27:56 +0100 |
| commit | 5f64ba0efbfcbb6dc44add191427aca504b4c3cd (patch) | |
| tree | 6df2963e57b870af58f0db7e1595afcebfba8237 | |
| parent | 9a68ee440bd41249e43fe248891052f865caecbc (diff) | |
| download | emacs-5f64ba0efbfcbb6dc44add191427aca504b4c3cd.tar.gz emacs-5f64ba0efbfcbb6dc44add191427aca504b4c3cd.zip | |
Ensure Eldoc buffer displays on interactive M-x eldoc
* lisp/emacs-lisp/eldoc.el (eldoc-display-in-buffer): Call
eldoc-doc-buffer with interactive set to t.
(Version): Bump to 1.13.0.
| -rw-r--r-- | lisp/emacs-lisp/eldoc.el | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/emacs-lisp/eldoc.el b/lisp/emacs-lisp/eldoc.el index b08a268c90f..724453d7661 100644 --- a/lisp/emacs-lisp/eldoc.el +++ b/lisp/emacs-lisp/eldoc.el | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | ;; Author: Noah Friedman <friedman@splode.com> | 5 | ;; Author: Noah Friedman <friedman@splode.com> |
| 6 | ;; Keywords: extensions | 6 | ;; Keywords: extensions |
| 7 | ;; Created: 1995-10-06 | 7 | ;; Created: 1995-10-06 |
| 8 | ;; Version: 1.12.0 | 8 | ;; Version: 1.13.0 |
| 9 | ;; Package-Requires: ((emacs "26.3")) | 9 | ;; Package-Requires: ((emacs "26.3")) |
| 10 | 10 | ||
| 11 | ;; This is a GNU ELPA :core package. Avoid functionality that is not | 11 | ;; This is a GNU ELPA :core package. Avoid functionality that is not |
| @@ -629,8 +629,7 @@ Honor `eldoc-echo-area-use-multiline-p' and | |||
| 629 | "Display DOCS in a dedicated buffer. | 629 | "Display DOCS in a dedicated buffer. |
| 630 | If INTERACTIVE is t, also display the buffer." | 630 | If INTERACTIVE is t, also display the buffer." |
| 631 | (eldoc--format-doc-buffer docs) | 631 | (eldoc--format-doc-buffer docs) |
| 632 | (when interactive | 632 | (when interactive (eldoc-doc-buffer t))) |
| 633 | (eldoc-doc-buffer))) | ||
| 634 | 633 | ||
| 635 | (defun eldoc-documentation-default () | 634 | (defun eldoc-documentation-default () |
| 636 | "Show first doc string for item at point. | 635 | "Show first doc string for item at point. |