emacs-diffs
[Top][All Lists]
Advanced

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

master 3907c884f03: project.el: Fixup two recent defcustoms


From: Dmitry Gutov
Subject: master 3907c884f03: project.el: Fixup two recent defcustoms
Date: Thu, 24 Aug 2023 08:34:44 -0400 (EDT)

branch: master
commit 3907c884f03cf5f2a09696bda015b1060c7111ba
Author: Dmitry Gutov <dmitry@gutov.dev>
Commit: Dmitry Gutov <dmitry@gutov.dev>

    project.el: Fixup two recent defcustoms
    
    * lisp/progmodes/project.el (project-file-history-behavior):
    Adjust positions inside 'const' forms.
    (project-key-prompt-style): Correct the :type form (bug#64799).
---
 lisp/progmodes/project.el | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el
index ab7376b7dc6..7aaf7a9f9fb 100644
--- a/lisp/progmodes/project.el
+++ b/lisp/progmodes/project.el
@@ -1070,8 +1070,8 @@ paths.  This only affects history entries added by 
earlier calls
 to `project-find-file' or `project-find-dir'.
 
 This has the effect of sharing more history between projects."
-  :type '(choice (const t :tag "Default behavior")
-                 (const relativize :tag "Adjust to be relative to current"))
+  :type '(choice (const :tag "Default behavior" t)
+                 (const :tag "Adjust to be relative to current" relativize))
   :group 'project
   :version "30.1")
 
@@ -1911,7 +1911,8 @@ listed in the dispatch menu produced from 
`project-switch-commands'."
 
 When `brackets', use text brackets and `bold' for the character.
 Otherwise, use the face `help-key-binding' in the prompt."
-  :type 'boolean
+  :type '(choice (const :tag "Using help-key-binding face" t)
+                 (const :tag "Using bold face and brackets" brackets))
   :group 'project
   :version "30.1")
 



reply via email to

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