From: Glenn Morris Date: Tue, 17 Aug 2021 18:31:09 +0000 (-0700) Subject: * lisp/mouse.el (context-menu-filter-function): Fix type. X-Git-Tag: emacs-28.0.90~1461 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ca781e4430bb817ad4918644ef45814de71e5927;p=emacs.git * lisp/mouse.el (context-menu-filter-function): Fix type. --- 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 ()