1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

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).
This commit is contained in:
Dmitry Gutov 2023-08-24 15:26:00 +03:00
parent ad5e17d063
commit 3907c884f0

View file

@ -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")