branch: externals/embark commit fddf3bc4e9c00f9488c651b769cbd6ae94ea2f3f Author: Omar Antolín <omar.anto...@gmail.com> Commit: Omar Antolín <omar.anto...@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)))