summaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el11
1 files changed, 0 insertions, 11 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 057c81f..9b75f87 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -105,17 +105,6 @@
;; Ensure that transients look nice with a variable pitch font.
(setopt transient-align-variable-pitch t)
-;;; Flash the current line
-;; This function was taken from a karthinks blog post. Previously i was using an external package, [[https://github.com/Malabarba/beacon][beacon]], and i still think that functions better. But this is adequate enough that i'm happy.
-
-;; I'd like to change the face, but ~pulse-highlight-face~ has *DO NOT CUSTOMIZE* in the docstring so what am i meant to do!?
-
-(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))
-
;;; Make wide windows narrow with visual-fill-column
;; Reading prose with long lines is a chore. Luckily there are several packages in emacs to make the windows squeeze text into a more legible sliver. Previously i used olivetti, which is a really nice package, but it's quite heavyweight and broke on me with no explanation more frequently than i appreciated. I've switched to visual-fill-column and been quite satisfied.