Declare that ignore' and undefined' shouldn't be completed over
* lisp/subr.el (ignore, undefined): Declare that these shouldn't be completed over.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user