From 3907c884f03cf5f2a09696bda015b1060c7111ba Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Thu, 24 Aug 2023 15:26:00 +0300 Subject: [PATCH] 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") -- 2.39.2