emacs: add new :cursor-color attribute for cursory presets (part of dev package)

This commit is contained in:
Protesilaos Stavrou 2025-07-20 13:18:17 +03:00
parent 563db09ca2
commit f9c0366b85
No known key found for this signature in database
GPG key ID: 99BD6459CD5CA3EA
2 changed files with 10 additions and 2 deletions

View file

@ -127,17 +127,20 @@
:config
(setq cursory-presets
'((box
:cursor-color font-lock-preprocessor-face
:blink-cursor-interval 1.2)
(box-no-blink
:cursor-color font-lock-string-face
:blink-cursor-mode -1)
(bar
:cursor-type (bar . 2)
:cursor-color error ; will typically be an intense red
:blink-cursor-interval 0.8)
(bar-no-other-window
:inherit bar
:cursor-in-non-selected-windows nil)
(bar-no-blink
:cursor-type (bar . 2)
:inherit bar
:blink-cursor-mode -1)
(underscore
:cursor-type (hbar . 3)
@ -156,6 +159,7 @@
:cursor-type (hbar . 8)
:cursor-in-non-selected-windows (hbar . 3))
(t ; the default values
:cursor-color unspecified
:cursor-type box
:cursor-in-non-selected-windows hollow
:blink-cursor-mode 1

View file

@ -1984,17 +1984,20 @@ such as in the difference between writing and reading.
:config
(setq cursory-presets
'((box
:cursor-color font-lock-preprocessor-face
:blink-cursor-interval 1.2)
(box-no-blink
:cursor-color font-lock-string-face
:blink-cursor-mode -1)
(bar
:cursor-type (bar . 2)
:cursor-color error ; will typically be an intense red
:blink-cursor-interval 0.8)
(bar-no-other-window
:inherit bar
:cursor-in-non-selected-windows nil)
(bar-no-blink
:cursor-type (bar . 2)
:inherit bar
:blink-cursor-mode -1)
(underscore
:cursor-type (hbar . 3)
@ -2013,6 +2016,7 @@ such as in the difference between writing and reading.
:cursor-type (hbar . 8)
:cursor-in-non-selected-windows (hbar . 3))
(t ; the default values
:cursor-color unspecified
:cursor-type box
:cursor-in-non-selected-windows hollow
:blink-cursor-mode 1