summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2017-09-08 23:15:24 +0200
committerAlan Pearce2017-09-08 23:15:24 +0200
commit0f70a52af55ff90f10282d4894dfba0bb0dd0404 (patch)
tree1c1a9c3e2b9a220950349955cbc9dbc8b6af6cb7
parent2036b1e56798d4ade05fee3475280ea7c111a591 (diff)
downloadnixfiles-0f70a52af55ff90f10282d4894dfba0bb0dd0404.tar.lz
nixfiles-0f70a52af55ff90f10282d4894dfba0bb0dd0404.tar.zst
nixfiles-0f70a52af55ff90f10282d4894dfba0bb0dd0404.zip
Emacs: Replace beacon with builtin hl-line-mode
-rw-r--r--emacs/.emacs.d/main.el19
-rw-r--r--nix/.config/nixpkgs/emacs.nix1
2 files changed, 2 insertions, 18 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index 5a665c72..1844ffd3 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -183,6 +183,8 @@
   :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,
@@ -366,23 +368,6 @@
             (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
 
 ;; Diminishing major modes does not happen in the same manner as minor
diff --git a/nix/.config/nixpkgs/emacs.nix b/nix/.config/nixpkgs/emacs.nix
index aface0fa..d517364d 100644
--- a/nix/.config/nixpkgs/emacs.nix
+++ b/nix/.config/nixpkgs/emacs.nix
@@ -156,7 +156,6 @@ in
     which-key
     yaml-mode
   ]) ++ (with epkgs.elpaPackages; [
-    beacon
     rainbow-mode
   ]) ++ [
     # defined above