Fix handling of frame color parameters in TTY sessions (Bug#19802)
commit20c817d3657ec67792edafd75f34d829144e8590
authorEli Zaretskii <eliz@gnu.org>
Sun, 8 Feb 2015 16:17:40 +0000 (8 18:17 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sun, 8 Feb 2015 16:17:40 +0000 (8 18:17 +0200)
treeda827bd286e203891f0f5b15409d635e24c21195
parenteca7da109248c40963c285417b878a8abcd84049
Fix handling of frame color parameters in TTY sessions  (Bug#19802)

 src/xfaces.c (map_tty_color): Use assoc_no_quit instead of
 assq_no_quit to fetch color definition by its string name.

 lisp/frame.el (frame-notice-user-settings): Refresh the value of
 frame parameters after calling tty-handle-reverse-video.  Call
 face-set-after-frame-default with the actual parameters, to avoid
 resetting colors back to unspecified.
 (set-background-color, set-foreground-color): Pass the selected
 color to face-set-after-frame-default.
lisp/ChangeLog
lisp/frame.el
src/ChangeLog
src/xfaces.c