diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2021-02-17 12:01:27 +0100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-02-17 12:01:27 +0100 |
commit | b3e34643c41399239f4846c28221b678804e370b (patch) | |
tree | 50661cf5fb6f1acd876de61689fa71168e013c1a /lisp/emacs-lisp/byte-run.el | |
parent | 26fcd8289057805f506a24c6ae7277c653463208 (diff) | |
download | emacs-b3e34643c41399239f4846c28221b678804e370b.tar.gz emacs-b3e34643c41399239f4846c28221b678804e370b.tar.bz2 emacs-b3e34643c41399239f4846c28221b678804e370b.zip |
Change name for the completion-* predicates
* lisp/simple.el (command-completion-default-include-p)
(command-completion-with-modes-p, command-completion-button-p):
Rename from completion-*.
(read-extended-command-predicate): Adjust default predicate.
* lisp/emacs-lisp/byte-run.el (byte-run--set-modes): Adjust
predicate name.
Diffstat (limited to 'lisp/emacs-lisp/byte-run.el')
-rw-r--r-- | lisp/emacs-lisp/byte-run.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/byte-run.el b/lisp/emacs-lisp/byte-run.el index 8a22388f1d7..76e7f01ace6 100644 --- a/lisp/emacs-lisp/byte-run.el +++ b/lisp/emacs-lisp/byte-run.el @@ -154,8 +154,9 @@ The return value of this function is not used." (defalias 'byte-run--set-modes #'(lambda (f _args &rest val) (list 'function-put (list 'quote f) - ''completion-predicate `(lambda (_ b) - (completion-with-modes-p ',val b))))) + ''completion-predicate + `(lambda (_ b) + (command-completion-with-modes-p ',val b))))) ;; Add any new entries to info node `(elisp)Declare Form'. (defvar defun-declarations-alist |