summaryrefslogtreecommitdiff
path: root/.config/emacs/modules/mm-theme.el
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2025-01-04 23:48:33 +0100
committerThomas Voss <mail@thomasvoss.com> 2025-01-04 23:48:33 +0100
commit8561fa37f998dec3f8b1649b8d60de75aa6edd4d (patch)
tree550d15cc6aa6159d07e3dcc8e2f140250a38acb9 /.config/emacs/modules/mm-theme.el
parentf93579ccddf3f3f8a5a50280dd2722fee8f71f3d (diff)
emacs: Configure wdired
Diffstat (limited to '.config/emacs/modules/mm-theme.el')
-rw-r--r--.config/emacs/modules/mm-theme.el7
1 files changed, 6 insertions, 1 deletions
diff --git a/.config/emacs/modules/mm-theme.el b/.config/emacs/modules/mm-theme.el
index f4b9c9a..adb0bf6 100644
--- a/.config/emacs/modules/mm-theme.el
+++ b/.config/emacs/modules/mm-theme.el
@@ -203,9 +203,14 @@ See also the `mm-theme-background-opacity' variable."
;;; More Intuiative UI for Certain Modes
+(defun mm-disable-line-selection-mode ()
+ (line-selection-mode -1))
+
(use-package line-selection-mode
:hook ((bookmark-bmenu-mode dired-mode ibuffer-mode magit-repolist-mode)
- . line-selection-mode))
+ . line-selection-mode)
+ :config
+ (add-hook wdired-mode-hook #'mm-disable-line-selection-mode))
;;; Line Highlighting