From: João Távora Date: Tue, 19 Jul 2022 23:24:44 +0000 (+0100) Subject: Ensure Eldoc buffer displays on interactive M-x eldoc X-Git-Tag: emacs-29.0.90~1447^2~849 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5f64ba0efbfcbb6dc44add191427aca504b4c3cd;p=emacs.git 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. --- 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 @@ ;; Author: Noah Friedman ;; Keywords: extensions ;; Created: 1995-10-06 -;; Version: 1.12.0 +;; Version: 1.13.0 ;; Package-Requires: ((emacs "26.3")) ;; This is a GNU ELPA :core package. Avoid functionality that is not @@ -629,8 +629,7 @@ Honor `eldoc-echo-area-use-multiline-p' and "Display DOCS in a dedicated buffer. If INTERACTIVE is t, also display the buffer." (eldoc--format-doc-buffer docs) - (when interactive - (eldoc-doc-buffer))) + (when interactive (eldoc-doc-buffer t))) (defun eldoc-documentation-default () "Show first doc string for item at point.