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

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

[elpa] externals/bug-hunter 2650778 93/95: Fix #17 - Minibuffer completi


From: Stefan Monnier
Subject: [elpa] externals/bug-hunter 2650778 93/95: Fix #17 - Minibuffer completion pre 25
Date: Fri, 27 Nov 2020 22:07:03 -0500 (EST)

branch: externals/bug-hunter
commit 26507781d9cdda802a958f2dda48ca1e43447075
Author: Artur Malabarba <bruce.connor.am@gmail.com>
Commit: Artur Malabarba <bruce.connor.am@gmail.com>

    Fix #17 - Minibuffer completion pre 25
---
 bug-hunter.el | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/bug-hunter.el b/bug-hunter.el
index 9a29f2f..242b866 100644
--- a/bug-hunter.el
+++ b/bug-hunter.el
@@ -489,7 +489,11 @@ typing `RET' at an empty prompt, in which case nil is 
returned."
                 (minibuffer-with-setup-hook
                     (lambda ()
                       (add-hook 'completion-at-point-functions
-                                #'elisp-completion-at-point nil t)
+                                (if (fboundp 'elisp-completion-at-point)
+                                    #'elisp-completion-at-point
+                                  (with-no-warnings
+                                    #'lisp-completion-at-point))
+                                nil t)
                       (run-hooks 'eval-expression-minibuffer-setup-hook))
                   (insert
                    (read-from-minibuffer



reply via email to

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