summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--emacs/init.el11
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