emacs: make sure cursory restores its preset, as the order of calls matters

This commit is contained in:
Protesilaos Stavrou 2025-11-02 11:53:55 +02:00
parent d4eb5916b0
commit 238a7a04d9
No known key found for this signature in database
GPG key ID: 99BD6459CD5CA3EA
2 changed files with 6 additions and 2 deletions

View file

@ -110,7 +110,7 @@
(prot-emacs-configure
(prot-emacs-install cursory)
(cursory-set-last-or-fallback)
(require 'cursory)
(setq cursory-presets
'((box
@ -149,6 +149,8 @@
:blink-cursor-interval 0.2
:blink-cursor-delay 0.2)))
(cursory-set-last-or-fallback)
;; Persist configurations between Emacs sessions. Also apply the
;; :cursor-color again when swithcing to another theme.
(cursory-mode 1)

View file

@ -2164,7 +2164,7 @@ such as in the difference between writing and reading.
(prot-emacs-configure
(prot-emacs-install cursory)
(cursory-set-last-or-fallback)
(require 'cursory)
(setq cursory-presets
'((box
@ -2203,6 +2203,8 @@ such as in the difference between writing and reading.
:blink-cursor-interval 0.2
:blink-cursor-delay 0.2)))
(cursory-set-last-or-fallback)
;; Persist configurations between Emacs sessions. Also apply the
;; :cursor-color again when swithcing to another theme.
(cursory-mode 1)