From: Dmitry Gutov Date: Tue, 29 Nov 2022 16:01:19 +0000 (+0200) Subject: * lisp/progmodes/project.el (project-vc-name): Fix the :type form (bug#48747). X-Git-Tag: emacs-29.0.90~1430 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4dab5f86712b212060842c4ed028331e72cc0e3b;p=emacs.git * lisp/progmodes/project.el (project-vc-name): Fix the :type form (bug#48747). --- diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el index 5b8648031fb..690b9bb5cd6 100644 --- a/lisp/progmodes/project.el +++ b/lisp/progmodes/project.el @@ -407,7 +407,8 @@ you might have to restart Emacs to see the effect." The best way to change the value a VC project reports as its name, is by setting this in .dir-locals.el." - :type 'string + :type '(choice (const :tag "Default to the base name" nil) + (string :tag "Custom name")) :version "29.1" :safe #'stringp)