[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 24166be: Declare that `ignore' and `undefined' shouldn't be compl
From: |
Lars Ingebrigtsen |
Subject: |
master 24166be: Declare that `ignore' and `undefined' shouldn't be completed over |
Date: |
Sun, 21 Feb 2021 13:26:48 -0500 (EST) |
branch: master
commit 24166be166ccda48353b395174da7e2bb1ca7659
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Declare that `ignore' and `undefined' shouldn't be completed over
* lisp/subr.el (ignore, undefined): Declare that these shouldn't
be completed over.
---
lisp/subr.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lisp/subr.el b/lisp/subr.el
index cf70b24..2ad31b6 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 24166be: Declare that `ignore' and `undefined' shouldn't be completed over,
Lars Ingebrigtsen <=