Add cursor color changing hook to the proper place
This commit is contained in:
parent
4803515967
commit
21189806fa
5
init.el
5
init.el
@ -679,7 +679,8 @@
|
|||||||
(use-package yasnippet
|
(use-package yasnippet
|
||||||
:demand
|
:demand
|
||||||
:config
|
:config
|
||||||
(yas-global-mode 1))
|
(yas-global-mode 1)
|
||||||
|
(add-hook 'post-command-hook 'sachachua/change-cursor-color-when-can-expand))
|
||||||
|
|
||||||
(use-package vala-snippets
|
(use-package vala-snippets
|
||||||
:after
|
:after
|
||||||
@ -1309,8 +1310,6 @@ TODO: What is FIELD for?"
|
|||||||
"Return true if right after an expandable thing."
|
"Return true if right after an expandable thing."
|
||||||
(or (abbrev--before-point) (yasnippet-can-fire-p)))
|
(or (abbrev--before-point) (yasnippet-can-fire-p)))
|
||||||
|
|
||||||
(add-hook 'post-command-hook 'sachachua/change-cursor-color-when-can-expand)
|
|
||||||
|
|
||||||
;; SysAdmin Day to the calendar
|
;; SysAdmin Day to the calendar
|
||||||
(add-to-list 'holiday-other-holidays '(holiday-float 7 5 -1 "SysAdmin Day") t)
|
(add-to-list 'holiday-other-holidays '(holiday-float 7 5 -1 "SysAdmin Day") t)
|
||||||
(add-to-list 'holiday-other-holidays '(holiday-fixed 10 21 "Reptile Awareness Day") t)
|
(add-to-list 'holiday-other-holidays '(holiday-fixed 10 21 "Reptile Awareness Day") t)
|
||||||
|
Loading…
Reference in New Issue
Block a user