all repos — nixfiles @ 0f70a52af55ff90f10282d4894dfba0bb0dd0404

System and user configuration, managed by nix and home-manager

Emacs: Replace beacon with builtin hl-line-mode
Alan Pearce alan@alanpearce.eu
Fri, 08 Sep 2017 23:15:24 +0200
commit

0f70a52af55ff90f10282d4894dfba0bb0dd0404

parent

2036b1e56798d4ade05fee3475280ea7c111a591

2 files changed, 2 insertions(+), 18 deletions(-)

jump to
M emacs/.emacs.d/main.elemacs/.emacs.d/main.el
@@ -183,6 +183,8 @@ (use-package highlight-stages   :diminish highlight-stages-mode)
 ;; #+END_SRC
 
+(global-hl-line-mode +1)
+
 ;;;;;; Fonts
 
 ;; When possible, set up fonts.  I don’t have any settings here for X11,
@@ -364,23 +366,6 @@ (use-package volatile-highlights   :diminish volatile-highlights-mode
   :config (progn
             (volatile-highlights-mode t)))
-;; #+END_SRC
-
-;;;;;; Beacon
-
-;; I was against the idea of having flashy animations inside Emacs, but
-;; this one is useful.  It highlights the cursor when scrolling or
-;; switching windows.
-
-;; #+BEGIN_SRC emacs-lisp
-(use-package beacon
-  :diminish beacon-mode
-  :config (progn
-            (beacon-mode +1)
-            (setq beacon-blink-delay 0.25
-                  beacon-blink-duration 0.25
-                  beacon-size 20
-                  beacon-color "#a1b56c")))
 ;; #+END_SRC
 
 ;;;;;; Renaming major modes
M nix/.config/nixpkgs/emacs.nixnix/.config/nixpkgs/emacs.nix
@@ -156,7 +156,6 @@ wgrep-ag     which-key
     yaml-mode
   ]) ++ (with epkgs.elpaPackages; [
-    beacon
     rainbow-mode
   ]) ++ [
     # defined above