From fe22bf503fb724816a6c629e2e6d21c1edf8b5f7 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Mon, 22 May 2023 21:31:56 +0300 Subject: [PATCH] ; * lisp/progmodes/project.el (project-switch-use-entire-map): Doc fix. --- lisp/progmodes/project.el | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el index a18b918db62..35b57ee4819 100644 --- a/lisp/progmodes/project.el +++ b/lisp/progmodes/project.el @@ -1759,11 +1759,12 @@ invoked immediately without any dispatch menu." (symbol :tag "Single command"))) (defcustom project-switch-use-entire-map nil - "Make `project-switch-project' use entire `project-prefix-map'. + "Whether `project-switch-project' will use the entire `project-prefix-map'. If nil, `project-switch-project' will only recognize commands -listed in `project-switch-commands' and signal an error when -others are invoked. Otherwise, all keys in `project-prefix-map' -are legal even if they aren't listed in the dispatch menu." +listed in `project-switch-commands', and will signal an error +when other commands are invoked. If this is non-nil, all the +keys in `project-prefix-map' are valid even if they aren't +listed in the dispatch menu produced from `project-switch-commands'." :type 'boolean :group 'project :version "28.1") -- 2.39.2