From a04b98b0c6ca75994e197a758567aa6d6401a0d0 Mon Sep 17 00:00:00 2001 From: rekado Date: Wed, 29 Oct 2014 18:05:23 +0100 Subject: red cursor if god-mode is active --- init.el | 3 +++ 1 file changed, 3 insertions(+) (limited to 'init.el') diff --git a/init.el b/init.el index 4d5dce4..8dc28f4 100644 --- a/init.el +++ b/init.el @@ -213,6 +213,9 @@ (require 'god-mode) (global-set-key (kbd "") 'god-mode-all) (defun my-update-cursor () + (if god-local-mode + (set-cursor-color "Red") + (set-cursor-color "White")) (setq cursor-type (if (or god-local-mode buffer-read-only) 'box 'bar))) -- cgit v1.2.3