* startup.el (command-line): Fix X resource class for cursorColor.
This commit is contained in:
parent
233ae90006
commit
301afadcbf
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2012-01-14 Chong Yidong <cyd@gnu.org>
|
||||
|
||||
* startup.el (command-line): Fix X resource class for cursorColor.
|
||||
|
||||
2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
* epg.el (epg--make-temp-file): Avoid permission race condition
|
||||
|
|
|
@ -910,7 +910,7 @@ opening the first frame (e.g. open a connection to an X server).")
|
|||
(setq no-blinking-cursor t)))
|
||||
;; If the cursorColor X resource exists, alter the `cursor' face
|
||||
;; spec, but mark it as changed outside of Customize.
|
||||
(let ((color (x-get-resource "cursorColor" "CursorColor")))
|
||||
(let ((color (x-get-resource "cursorColor" "Foreground")))
|
||||
(when color
|
||||
(put 'cursor 'theme-face
|
||||
`((changed ((t :background ,color)))))
|
||||
|
|
Loading…
Add table
Reference in a new issue