all repos — archive/dotfiles @ 4d67c3a9251ed35fa8a00a589ad688644dd9c6b8

Superseded by nixfiles

Emacs: Always use bar cursor
Alan Pearce alan@alanpearce.uk
Thu, 15 Dec 2016 16:43:31 +0100
commit

4d67c3a9251ed35fa8a00a589ad688644dd9c6b8

parent

5891adae96f220ae730c2258beb4460717c5e20f

1 files changed, 3 insertions(+), 4 deletions(-)

jump to
M tag-emacs/emacs.d/init.orgtag-emacs/emacs.d/init.org
@@ -162,17 +162,16 @@ (hide-mode-line))                     (t
                      (show-mode-line))))
 
+            (setq-default cursor-type 'bar)
+            (setq-default cursor-in-non-selected-windows nil)
+
             (defun hide-clutter ()
               (interactive)
-              (setq-default cursor-type 'bar)
-              (setq-default cursor-in-non-selected-windows nil)
               (fringe-mode '(0 . 4))
               (hide-mode-line))
 
             (defun show-clutter ()
               (interactive)
-              (setq-default cursor-type 'box)
-              (setq-default cursor-in-non-selected-windows 'hollow)
               (fringe-mode '(8 . 4))
               (show-mode-line))
             (hide-clutter)))