Is there a way to get the current cursor color in Emacs?
I could only find
(set-cursor-color "white")
But there is no "get-cursor-color".
He also does not look face:
(face-attribute 'cursor :foreground)
; => undefined
I have an idea that this is a "higher" level of binding (since it is also possible to set it as an argument to run Emacs).
But I would still like to temporarily change the color of the cursor; only if I know how to change it.
Given that the user can change the subject in the meantime, this should be the real “current” cursor color.
source
share