From 5f64ba0efbfcbb6dc44add191427aca504b4c3cd Mon Sep 17 00:00:00 2001 From: João Távora Date: Wed, 20 Jul 2022 00:24:44 +0100 Subject: 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. --- lisp/emacs-lisp/eldoc.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lisp/emacs-lisp') 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. -- cgit v1.2.3