emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/eldoc-eval 6514b3377f 20/28: Silence the warning


From: Stefan Monnier
Subject: [elpa] externals/eldoc-eval 6514b3377f 20/28: Silence the warning
Date: Thu, 6 Jan 2022 08:34:57 -0500 (EST)

branch: externals/eldoc-eval
commit 6514b3377f683cec49986f53ef11a7a8e1b281e8
Author: lattfein <lattfein@gmail.com>
Commit: lattfein <lattfein@gmail.com>

    Silence the warning
---
 eldoc-eval.el | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/eldoc-eval.el b/eldoc-eval.el
index 541e3b9d43..34995f29eb 100644
--- a/eldoc-eval.el
+++ b/eldoc-eval.el
@@ -91,6 +91,14 @@ Should take one arg: the string to display"
   "When rolling mode-line is enabled, stop rolling on input when non--nil."
   :type 'boolean)
 
+;;; Compatibility with Emacs-24.4
+;; New implementation of eldoc in minibuffer that come
+;; with Emacs-24.4 show the eldoc info of current-buffer while
+;; minibuffer is in use, disable this and inline old Emacs behavior.
+;;
+(defconst eldoc-eval--old-message-function
+  (and (boundp 'eldoc-message-function) eldoc-message-function))
+
 ;; Internal.
 (defvar eldoc-active-minibuffers-list nil
   "List of active minibuffers with eldoc enabled.")
@@ -120,14 +128,6 @@ Should take one arg: the string to display"
                   'eldoc-post-insert-mode))
       (define-key minibuffer-local-map (kbd "C-@") 'set-mark-command)))
 
-;;; Compatibility with Emacs-24.4
-;; New implementation of eldoc in minibuffer that come
-;; with Emacs-24.4 show the eldoc info of current-buffer while
-;; minibuffer is in use, disable this and inline old Emacs behavior.
-;;
-(defconst eldoc-eval--old-message-function
-  (and (boundp 'eldoc-message-function) eldoc-message-function))
-
 (defadvice eldoc-display-message-no-interference-p
     (after eldoc-eval activate)
   (when eldoc-in-minibuffer-mode



reply via email to

[Prev in Thread] Current Thread [Next in Thread]