summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Gutov <dgutov@yandex.ru>2022-11-29 18:01:19 +0200
committerDmitry Gutov <dgutov@yandex.ru>2022-11-29 18:01:55 +0200
commit4dab5f86712b212060842c4ed028331e72cc0e3b (patch)
tree7bba90f9ddc7e55b091948784dff3d2d8902ad34
parent079625d3c618188fc76b89f8d942f0e7004d0312 (diff)
downloademacs-4dab5f86712b212060842c4ed028331e72cc0e3b.tar.gz
* lisp/progmodes/project.el (project-vc-name): Fix the :type form (bug#48747).
-rw-r--r--lisp/progmodes/project.el3
1 files changed, 2 insertions, 1 deletions
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)