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

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

[elpa] externals/jinx ca8c68a9af 3/3: Add comment regarding eager-displa


From: ELPA Syncer
Subject: [elpa] externals/jinx ca8c68a9af 3/3: Add comment regarding eager-display
Date: Sun, 22 Dec 2024 09:58:24 -0500 (EST)

branch: externals/jinx
commit ca8c68a9affd690d50d2696ef16e5b6d392d07ec
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    Add comment regarding eager-display
---
 jinx.el | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/jinx.el b/jinx.el
index 5ba669bc6b..45cbc588e4 100644
--- a/jinx.el
+++ b/jinx.el
@@ -688,12 +688,13 @@ See `isearch-open-necessary-overlays' and 
`isearch-open-overlay-temporary'."
 
 (defun jinx--correct-setup ()
   "Setup minibuffer for correction."
-  (let ((message-log-max nil)
-        (inhibit-message t))
-    (use-local-map (make-composed-keymap (list jinx-correct-map) 
(current-local-map)))
-    (when (and (eq completing-read-function #'completing-read-default)
-               (not (bound-and-true-p vertico-mode))
-               (not (bound-and-true-p icomplete-mode)))
+  (use-local-map (make-composed-keymap (list jinx-correct-map) 
(current-local-map)))
+  ;; TODO Use `eager-display' on Emacs 31
+  (when (and (eq completing-read-function #'completing-read-default)
+             (not (bound-and-true-p vertico-mode))
+             (not (bound-and-true-p icomplete-mode)))
+    (let ((message-log-max nil)
+          (inhibit-message t))
       (minibuffer-completion-help))))
 
 (defun jinx--add-suggestion (list ht word group)



reply via email to

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