1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-28 07:45:00 +00:00

(set_tty_color_mode): Calculate current_mode_spec regardless of value of VAL.

This commit is contained in:
Richard M. Stallman 2003-09-30 12:38:38 +00:00
parent 7c67c9f660
commit 545d91d5cf

View File

@ -2120,13 +2120,15 @@ set_tty_color_mode (f, val)
color_mode_spec = Qnil;
else
color_mode_spec = Fassq (val, XSYMBOL (tty_color_mode_alist)->value);
current_mode_spec = assq_no_quit (Qtty_color_mode, f->param_alist);
if (CONSP (color_mode_spec))
color_mode = XCDR (color_mode_spec);
else
color_mode = Qnil;
}
current_mode_spec = assq_no_quit (Qtty_color_mode, f->param_alist);
if (CONSP (current_mode_spec))
current_mode = XCDR (current_mode_spec);
else