summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2021-08-17 11:31:09 -0700
committerGlenn Morris <rgm@gnu.org>2021-08-17 11:31:24 -0700
commitca781e4430bb817ad4918644ef45814de71e5927 (patch)
treedd24f4af48cea8a921499f48bfaf7b5ccf932f6d
parent130d47bdccee31d9fd9d74e273443416d2da20fa (diff)
downloademacs-ca781e4430bb817ad4918644ef45814de71e5927.tar.gz
* lisp/mouse.el (context-menu-filter-function): Fix type.
-rw-r--r--lisp/mouse.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mouse.el b/lisp/mouse.el
index 4c4a7d35a89..54240397001 100644
--- a/lisp/mouse.el
+++ b/lisp/mouse.el
@@ -299,7 +299,7 @@ the same menu with changes such as added new menu items."
(defcustom context-menu-filter-function nil
"Function that can filter the list produced by `context-menu-functions'."
- :type 'function
+ :type '(choice (const nil) function)
:version "28.1")
(defun context-menu-map ()