]> git.eshelyaron.com Git - emacs.git/commit
Remove the duplication from project-switch-commands's config
authorDmitry Gutov <dgutov@yandex.ru>
Sun, 13 Dec 2020 20:50:46 +0000 (22:50 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Sun, 13 Dec 2020 20:50:55 +0000 (22:50 +0200)
commit51698f77dd6356049fcacdb01ebe80cfe4c67272
treeb8839f1c39ec926a5732096b915f6607e609374a
parentfe50a8b9ba79b4ac14a3a352d8bf84eaee4f2122
Remove the duplication from project-switch-commands's config

Based on an older patch by Philip K (https://debbugs.gnu.org/41890#127).

* lisp/progmodes/project.el: (project-switch-commands): Change to
'defcustom', alter the value format, add :type.
(project-switch-use-entire-map): New option.
(project--keymap-prompt, project-switch-project):
Update accordingly, while keeping compatibility with user-defined
values in the previous format (for some transition period).

Co-authored-by: Philip K. <philipk@posteo.net>
lisp/progmodes/project.el