all repos — archive/dotfiles @ ecfac5177a2277cae3e0239378121fd4b589fcc7

Superseded by nixfiles

Fix use of deprecated cursor variables
Alan Pearce alan@alanpearce.uk
Wed, 14 Dec 2016 10:59:47 +0100
commit

ecfac5177a2277cae3e0239378121fd4b589fcc7

parent

e14f629e9171461d24058c0d0f893932e66c665e

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

jump to
M tag-emacs/emacs.d/init.orgtag-emacs/emacs.d/init.org
@@ -164,15 +164,15 @@ (show-mode-line)))) 
             (defun hide-clutter ()
               (interactive)
-              (setq default-cursor-type 'bar
-                    default-cursor-in-non-selected-windows nil)
+              (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
-                    default-cursor-in-non-selected-windows 'hollow)
+              (setq-default cursor-type 'box)
+              (setq-default cursor-in-non-selected-windows 'hollow)
               (fringe-mode '(8 . 4))
               (show-mode-line))
             (hide-clutter)))