From ecfac5177a2277cae3e0239378121fd4b589fcc7 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 14 Dec 2016 10:59:47 +0100 Subject: Fix use of deprecated cursor variables --- tag-emacs/emacs.d/init.org | 8 ++++---- 1 file 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))) -- cgit 1.4.1