kmacro-x

a fork of vifon's kmacro-x
git clone https://git.trogloxene.org/kmacro-x.git
Log | Files | Refs | README | LICENSE

commit 913e08cfa377eb1537ed066e2a4f08b8d8d59a5e
parent 757c582cba626afbf82a25d069eff4f7abd122c6
Author: Wojciech Siewierski <wojciech@siewierski.eu>
Date:   Sat,  4 Mar 2023 00:35:30 +0100

Make kmacro-x-mc-mode-map higher priority than other minor mode maps

Case in point: RET was being shadowed in haskell-indentation-mode.

Diffstat:
Mkmacro-x-mc.el | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/kmacro-x-mc.el b/kmacro-x-mc.el @@ -260,8 +260,15 @@ user directory. (- (mark) (car bounds)))) + (push `(kmacro-x-mc-mode . ,kmacro-x-mc-mode-map) + minor-mode-overriding-map-alist) + (start-kbd-macro nil)) + (setq minor-mode-overriding-map-alist + (assq-delete-all #'kmacro-x-mc-mode + minor-mode-overriding-map-alist)) + (mapc #'delete-overlay kmacro-x-mc-cursors) (kill-local-variable 'kmacro-x-mc-regexp) (kill-local-variable 'kmacro-x-mc-offsets)