emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-29 4dab5f8671: * lisp/progmodes/project.el (project-vc-name): Fix


From: Dmitry Gutov
Subject: emacs-29 4dab5f8671: * lisp/progmodes/project.el (project-vc-name): Fix the :type form (bug#48747).
Date: Tue, 29 Nov 2022 11:02:13 -0500 (EST)

branch: emacs-29
commit 4dab5f86712b212060842c4ed028331e72cc0e3b
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>

    * lisp/progmodes/project.el (project-vc-name): Fix the :type form 
(bug#48747).
---
 lisp/progmodes/project.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el
index 5b8648031f..690b9bb5cd 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)
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]