diff options
author | noa@gaiwan.org | 2024-06-13 15:36:19 +0000 |
---|---|---|
committer | noa@gaiwan.org | 2024-06-13 15:36:19 +0000 |
commit | c4c8349c5526ff4a2e699676525e29008b083844 (patch) | |
tree | db977fe46379bdce9fe63d49f3d93756d69b72d6 /emacs/init.el | |
parent | e3526f85f186b7feabecbfb85add5fd396002725 (diff) |
Replace beacon.el with built in pulse
Diffstat (limited to 'emacs/init.el')
-rw-r--r-- | emacs/init.el | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/emacs/init.el b/emacs/init.el index 2dc275a..e800c9b 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -99,10 +99,13 @@ ) ) -(use-package beacon - :ensure t - :delight - :custom (beacon-mode t)) +(defun pulse-line (&rest _) + "Pulse the current line." + (pulse-momentary-highlight-one-line (point))) + +(dolist (command '(scroll-up-command scroll-down-command recenter-top-bottom other-window)) + (advice-add command :after #'pulse-line)) + (use-package jabber :ensure t |