From: Eli Zaretskii Date: Mon, 22 May 2023 18:31:56 +0000 (+0300) Subject: ; * lisp/progmodes/project.el (project-switch-use-entire-map): Doc fix. X-Git-Tag: emacs-29.0.92~112 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fe22bf503fb724816a6c629e2e6d21c1edf8b5f7;p=emacs.git ; * lisp/progmodes/project.el (project-switch-use-entire-map): Doc fix. --- 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")