summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2016-12-14 10:59:47 +0100
committerAlan Pearce2016-12-14 10:59:47 +0100
commitecfac5177a2277cae3e0239378121fd4b589fcc7 (patch)
tree16fdc0af52a3873119e1157fbad52a4cfb4ce804
parente14f629e9171461d24058c0d0f893932e66c665e (diff)
downloadnixfiles-ecfac5177a2277cae3e0239378121fd4b589fcc7.tar.lz
nixfiles-ecfac5177a2277cae3e0239378121fd4b589fcc7.tar.zst
nixfiles-ecfac5177a2277cae3e0239378121fd4b589fcc7.zip
Fix use of deprecated cursor variables
-rw-r--r--tag-emacs/emacs.d/init.org8
1 files changed, 4 insertions, 4 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index b0a03c8d..c54ef2e0 100644
--- a/tag-emacs/emacs.d/init.org
+++ b/tag-emacs/emacs.d/init.org
@@ -164,15 +164,15 @@ Let’s try a basic theme.
 
             (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)))