diff options
author | rekado <rekado@elephly.net> | 2014-10-29 18:05:23 +0100 |
---|---|---|
committer | rekado <rekado@elephly.net> | 2014-10-29 18:05:23 +0100 |
commit | a04b98b0c6ca75994e197a758567aa6d6401a0d0 (patch) | |
tree | d5cf7c4cab184a0ee56afa29fdbd149f3c9bc6ae /init.el | |
parent | 599402691aed2407a2129124401bcc00fcfe4a27 (diff) |
red cursor if god-mode is active
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -213,6 +213,9 @@ (require 'god-mode) (global-set-key (kbd "<M-SPC>") '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))) |