summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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 b0a03c8..c54ef2e 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)))