emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master ca781e4: * lisp/mouse.el (context-menu-filter-function): Fix type


From: Glenn Morris
Subject: master ca781e4: * lisp/mouse.el (context-menu-filter-function): Fix type.
Date: Tue, 17 Aug 2021 14:31:37 -0400 (EDT)

branch: master
commit ca781e4430bb817ad4918644ef45814de71e5927
Author: Glenn Morris <rgm@gnu.org>
Commit: Glenn Morris <rgm@gnu.org>

    * lisp/mouse.el (context-menu-filter-function): Fix type.
---
 lisp/mouse.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/mouse.el b/lisp/mouse.el
index 4c4a7d3..5424039 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 ()



reply via email to

[Prev in Thread] Current Thread [Next in Thread]