[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/embark fddf3bc4e9 1/2: Only bind embark-cycle in cr pro
From: |
ELPA Syncer |
Subject: |
[elpa] externals/embark fddf3bc4e9 1/2: Only bind embark-cycle in cr prompter if bound in keymap (fix #450) |
Date: |
Sat, 29 Jan 2022 18:57:35 -0500 (EST) |
branch: externals/embark
commit fddf3bc4e9c00f9488c651b769cbd6ae94ea2f3f
Author: Omar Antolín <omar.antolin@gmail.com>
Commit: Omar Antolín <omar.antolin@gmail.com>
Only bind embark-cycle in cr prompter if bound in keymap (fix #450)
---
embark.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/embark.el b/embark.el
index f036ee2590..e8bacd6682 100644
--- a/embark.el
+++ b/embark.el
@@ -1281,7 +1281,7 @@ UPDATE function is passed to it."
;; embark-keybinding in the `completing-read' prompter.
(define-key map cycle
(cond
- ((lookup-key keymap cycle)
+ ((eq (lookup-key keymap cycle) 'embark-cycle)
(lambda ()
(interactive)
(throw 'choice 'embark-cycle)))