]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix hfy-etags-cmd type
authorLars Ingebrigtsen <larsi@gnus.org>
Sun, 29 May 2022 14:40:53 +0000 (16:40 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 29 May 2022 14:40:53 +0000 (16:40 +0200)
* lisp/htmlfontify.el (hfy-etags-cmd): Fix the type -- this
variable usually ends up being nil.

lisp/htmlfontify.el

index a809e61da73336c9f5f1c8fc69608b20f5c0d6e1..89cacdff21b4a98fd769f138117d0159451254a9 100644 (file)
@@ -364,7 +364,7 @@ the etags output on stdout.
 Two canned commands are provided - they drive Emacs's etags and
 exuberant-ctags' etags respectively."
   :tag   "etags-command"
-  :type (let ((clist (list '(string))))
+  :type (let ((clist (list '(string) '(const :tag "None" nil))))
           (dolist (C hfy-etags-cmd-alist)
             (push (list 'const :tag (car C) (cdr C)) clist))
           (cons 'choice clist)))