From 4d67c3a9251ed35fa8a00a589ad688644dd9c6b8 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 15 Dec 2016 16:43:31 +0100 Subject: Emacs: Always use bar cursor --- tag-emacs/emacs.d/init.org | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'tag-emacs') diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org index 6398e10a..352f6ef2 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))) -- cgit 1.4.1