diff --git a/lisp/locate.el b/lisp/locate.el index 563300f6c03..9676c84f80c 100644 --- a/lisp/locate.el +++ b/lisp/locate.el @@ -144,12 +144,12 @@ (defcustom locate-fcodes-file nil "*File name for the database of file names." - :type '(choice file (const nil)) + :type '(choice (const :tag "None" nil) file) :group 'locate) (defcustom locate-header-face nil "*Face used to highlight the locate header." - :type '(choice face (const nil)) + :type '(choice (const :tag "None" nil) face) :group 'locate) ;;;###autoload