]> git.earman.xyz Git - emacsinit.git/commitdiff
Fix swapping mouse-modes
authorrearman <rearman@r717.net>
Thu, 12 Feb 2026 15:32:05 +0000 (10:32 -0500)
committerrearman <rearman@r717.net>
Thu, 12 Feb 2026 15:32:05 +0000 (10:32 -0500)
Disable acme-mouse-mode with '-1' arg instead of 0, then enable sedit-mouse-mode.

re/re-bindings.el

index 63c19cc24292896a30a99a431c120fd5d7f10085..0c09b03f25ed3eb6cc0d50140a5a4e9a1ba81e31 100644 (file)
   (add-hook hook
            (lambda ()
              (require 'sedit-mouse)
-             (when (bound-and-true-p acme-mouse-mode) (acme-mouse-mode 0))
+             (when (bound-and-true-p acme-mouse-mode) (acme-mouse-mode -1))
              (sedit-mouse-mode 1)
              (keymap-set lisp-mode-shared-map "C-M-z" #'eval-region)
              (keymap-set lisp-mode-shared-map