From 24166be166ccda48353b395174da7e2bb1ca7659 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sun, 21 Feb 2021 19:26:39 +0100 Subject: [PATCH] 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 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 -- 2.39.2