]> code.delx.au - gnu-emacs-elpa/commitdiff
Fix #17 - Minibuffer completion pre 25
authorArtur Malabarba <bruce.connor.am@gmail.com>
Sat, 30 Apr 2016 14:28:06 +0000 (11:28 -0300)
committerArtur Malabarba <bruce.connor.am@gmail.com>
Sat, 30 Apr 2016 14:28:45 +0000 (11:28 -0300)
packages/bug-hunter/bug-hunter.el

index 9a29f2fb12613f19341c3735f50aa69512fc34aa..99f753aeff14c1fc98eb3d94f870805d2d74ad27 100644 (file)
@@ -4,7 +4,7 @@
 
 ;; Author: Artur Malabarba <emacs@endlessparentheses.com>
 ;; URL: https://github.com/Malabarba/elisp-bug-hunter
-;; Version: 1.3
+;; Version: 1.3.1
 ;; Keywords: lisp
 ;; Package-Requires: ((seq "1.3") (cl-lib "0.5"))
 
@@ -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