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.
This commit is contained in:
parent
26fcd82890
commit
b3e34643c4
2 changed files with 9 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue