diff --git a/customizations.el b/customizations.el index 2c01784..61c03d9 100644 --- a/customizations.el +++ b/customizations.el @@ -7,7 +7,7 @@ '(background-mode dark) '(blink-cursor-mode t) '(column-number-mode t) - '(cursor-color "#5c5cff") + '(cursor-color "#ffd85c") '(cursor-type (quote bar)) '(custom-enabled-themes (quote (tango))) '(custom-file (concat user-emacs-directory "customizations.el")) diff --git a/init.el b/init.el index b60af99..bc8a892 100644 --- a/init.el +++ b/init.el @@ -1250,7 +1250,8 @@ INFO plist." (helm-execute-persistent-action) (insert "/"))) -(setq default-cursor-color (frame-parameter nil 'cursor-colbxuor)) +;; TODO: 'cursor-color is sometimes nil, but why? +(setq default-cursor-color (or (frame-parameter nil 'cursor-color) "#ffd85c")) (setq yasnippet-can-fire-cursor-color "purple") ;; It will test whether it can expand, if yes, cursor color -> purple.