[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 6b800f9adf3: * lisp/progmodes/project.el (project-any-command): A
From: |
Juri Linkov |
Subject: |
master 6b800f9adf3: * lisp/progmodes/project.el (project-any-command): Allow local keymaps. |
Date: |
Sun, 25 Feb 2024 02:34:05 -0500 (EST) |
branch: master
commit 6b800f9adf3506bf113539cf22cd07c7cda9f7b8
Author: Juri Linkov <juri@linkov.net>
Commit: Juri Linkov <juri@linkov.net>
* lisp/progmodes/project.el (project-any-command): Allow local keymaps.
Use overriding-terminal-local-map instead of overriding-local-map.
This allows using keys from local maps (bug#69242).
---
lisp/progmodes/project.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el
index aa92a73336e..9622b1b6768 100644
--- a/lisp/progmodes/project.el
+++ b/lisp/progmodes/project.el
@@ -1866,12 +1866,12 @@ Otherwise, `default-directory' is temporarily set to
the current
project's root.
If OVERRIDING-MAP is non-nil, it will be used as
-`overriding-local-map' to provide shorter bindings from that map
-which will take priority over the global ones."
+`overriding-terminal-local-map' to provide shorter bindings
+from that map which will take priority over the global ones."
(interactive)
(let* ((pr (project-current t))
(prompt-format (or prompt-format "[execute in %s]:"))
- (command (let ((overriding-local-map overriding-map))
+ (command (let ((overriding-terminal-local-map overriding-map))
(key-binding (read-key-sequence
(format prompt-format (project-root pr)))
t)))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 6b800f9adf3: * lisp/progmodes/project.el (project-any-command): Allow local keymaps.,
Juri Linkov <=