From 0f70a52af55ff90f10282d4894dfba0bb0dd0404 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 8 Sep 2017 23:15:24 +0200 Subject: Emacs: Replace beacon with builtin hl-line-mode --- emacs/.emacs.d/main.el | 19 ++----------------- nix/.config/nixpkgs/emacs.nix | 1 - 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 -- cgit 1.4.1