summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2016-12-15 16:43:31 +0100
committerAlan Pearce2016-12-15 16:43:31 +0100
commit4d67c3a9251ed35fa8a00a589ad688644dd9c6b8 (patch)
tree9211085919829c9fb5489c2ea9c5879d09bd8c92
parent5891adae96f220ae730c2258beb4460717c5e20f (diff)
downloaddotfiles-4d67c3a9251ed35fa8a00a589ad688644dd9c6b8.tar.lz
dotfiles-4d67c3a9251ed35fa8a00a589ad688644dd9c6b8.tar.zst
dotfiles-4d67c3a9251ed35fa8a00a589ad688644dd9c6b8.zip
Emacs: Always use bar cursor
-rw-r--r--tag-emacs/emacs.d/init.org7
1 files changed, 3 insertions, 4 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index 6398e10..352f6ef 100644
--- a/tag-emacs/emacs.d/init.org
+++ b/tag-emacs/emacs.d/init.org
@@ -162,17 +162,16 @@ Let’s try a basic theme.
                     (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)))