]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/progmodes/project.el (project-vc-name): Fix the :type form (bug#48747).
authorDmitry Gutov <dgutov@yandex.ru>
Tue, 29 Nov 2022 16:01:19 +0000 (18:01 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Tue, 29 Nov 2022 16:01:55 +0000 (18:01 +0200)
lisp/progmodes/project.el

index 5b8648031fbb06b18c3d1929753ad38353c762fe..690b9bb5cd6b125e913c9c84ec2b7ff52ff3c76b 100644 (file)
@@ -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)