aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2025-04-07 16:02:05 +0100
committerDavid Morgan <djm_uk@protonmail.com>2025-04-07 16:02:05 +0100
commitd547a2dc74f28ec0b1df1f7c3398e64d2a97b6c2 (patch)
treef7914b8c2a8ab74b59a51853e5eaa956dbf12708
parente9058be4d92a001abc931173f0f1c1a4ba1d74c5 (diff)
downloaddotfiles-d547a2dc74f28ec0b1df1f7c3398e64d2a97b6c2.tar.gz
Fix repeat-fu config
-rw-r--r--.emacs.d/lisp/init-editor.el5
1 files changed, 1 insertions, 4 deletions
diff --git a/.emacs.d/lisp/init-editor.el b/.emacs.d/lisp/init-editor.el
index 2f3789d..a4704a5 100644
--- a/.emacs.d/lisp/init-editor.el
+++ b/.emacs.d/lisp/init-editor.el
@@ -314,11 +314,8 @@ With a prefix argument, moves up `current-prefix-arg' sexps first."
("r" . cider-insert-region-in-repl)))
(use-package repeat-fu
- ;;:commands repeat-fu-mode
:bind ("M-+" . repeat-fu-execute)
- :hook (after-change-mode-hook . (lambda ()
- (when (and (not (minibufferp)) (not (derived-mode-p 'special-mode)))
- (repeat-fu-mode)))))
+ :hook ((prog-mode text-mode) . repeat-fu-mode))
(provide 'init-editor)
;;; init-editor.el ends here