diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2021-02-21 19:26:39 +0100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-02-21 19:26:39 +0100 |
commit | 24166be166ccda48353b395174da7e2bb1ca7659 (patch) | |
tree | cdfc84c8beb326d84dd80080049b7abb83268d4d | |
parent | d15a42ac453c47c4da8ba1a66170dee106541d63 (diff) | |
download | emacs-24166be166ccda48353b395174da7e2bb1ca7659.tar.gz emacs-24166be166ccda48353b395174da7e2bb1ca7659.tar.bz2 emacs-24166be166ccda48353b395174da7e2bb1ca7659.zip |
Declare that `ignore' and `undefined' shouldn't be completed over
* lisp/subr.el (ignore, undefined): Declare that these shouldn't
be completed over.
-rw-r--r-- | lisp/subr.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/subr.el b/lisp/subr.el index cf70b249cfc..2ad31b656ea 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -375,6 +375,7 @@ PREFIX is a string, and defaults to \"g\"." "Do nothing and return nil. This function accepts any number of ARGUMENTS, but ignores them. Also see `always'." + (declare (completion #'ignore)) (interactive) nil) @@ -922,6 +923,7 @@ For an approximate inverse of this, see `key-description'." (defun undefined () "Beep to tell the user this binding is undefined." + (declare (completion #'ignore)) (interactive) (ding) (if defining-kbd-macro |