X-Git-Url: https://code.delx.au/gnu-emacs-elpa/blobdiff_plain/39a458ed74ecb2015e933438a547846abed973a0..f10533854f4c7bb54247a11981191bf37b70cb36:/packages/bug-hunter/bug-hunter.el diff --git a/packages/bug-hunter/bug-hunter.el b/packages/bug-hunter/bug-hunter.el index 9a29f2fb1..30c2c8e45 100644 --- a/packages/bug-hunter/bug-hunter.el +++ b/packages/bug-hunter/bug-hunter.el @@ -4,7 +4,7 @@ ;; Author: Artur Malabarba ;; 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")) @@ -310,7 +310,7 @@ ARGS are passed before \"-l FILE\"." "Execute FORMS in the background and test ASSERTION. See `bug-hunter' for a description on the ASSERTION. -If ASSERTION is 'interactive, the form is run through +If ASSERTION is `interactive', the form is run through `bug-hunter--run-form-interactively'. Otherwise, a slightly modified version of the form combined with ASSERTION is run through `bug-hunter--run-form'." @@ -468,8 +468,8 @@ Wraps them in a progn if necessary to always return a single form. The user may decide to not provide input, in which case -'interactive is returned. Note, this is different from the user -typing `RET' at an empty prompt, in which case nil is returned." +`interactive' is returned. Note, this is different from the user +typing RET at an empty prompt, in which case nil is returned." (pcase (read-char-choice (if (display-graphic-p) bug-hunter--hunt-type-prompt (replace-regexp-in-string "To bisect interactively,.*\n" "" @@ -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