mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-04 08:47:11 +00:00
project--switch-project-command: Retouch
* lisp/progmodes/project.el (project--switch-project-command): Remove outdated comment and clear the echo area at the end.
This commit is contained in:
parent
377a3c4281
commit
1a8f61a9f6
@ -2006,13 +2006,12 @@ Otherwise, use the face `help-key-binding' in the prompt."
|
||||
(when (numberp command) (setq command nil))
|
||||
(unless (or project-switch-use-entire-map
|
||||
(assq command commands-menu))
|
||||
;; TODO: Add some hint to the prompt, like "key not
|
||||
;; recognized" or something.
|
||||
(setq command nil)))
|
||||
(let ((global-command (lookup-key (current-global-map) choice)))
|
||||
(when (memq global-command
|
||||
'(keyboard-quit keyboard-escape-quit))
|
||||
(call-interactively global-command)))))
|
||||
(message nil)
|
||||
command))
|
||||
|
||||
;;;###autoload
|
||||
|
Loading…
Reference in New Issue
Block a user