From c90f97d4e5d56ba7cad0205c3f60854ca575f180 Mon Sep 17 00:00:00 2001 From: Yaraslau Tamashevich Date: Fri, 23 Dec 2022 11:39:25 +0200 Subject: Make the Contour terminal an alias of xterm-256color * lisp/faces.el (term-file-aliases): Make the Contour terminal an alias of xterm-256color. (Bug#60278) Copyright-paperwork-exempt: yes --- lisp/faces.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lisp/faces.el') diff --git a/lisp/faces.el b/lisp/faces.el index c69339e2fdc..29e26e4c651 100644 --- a/lisp/faces.el +++ b/lisp/faces.el @@ -47,7 +47,8 @@ the terminal-initialization file to be loaded." ("vt400" . "vt200") ("vt420" . "vt200") ("alacritty" . "xterm") - ("foot" . "xterm")) + ("foot" . "xterm") + ("contour" . "xterm")) "Alist of terminal type aliases. Entries are of the form (TYPE . ALIAS), where both elements are strings. This means to treat a terminal of type TYPE as if it were of type ALIAS." -- cgit v1.2.1 From d086cd6cf877c6ca7af6712f9b79b52dd0caa934 Mon Sep 17 00:00:00 2001 From: Gregory Heytings Date: Thu, 29 Dec 2022 22:41:58 +0000 Subject: Clarify the documentation of 'set-face-attribute' * lisp/faces.el (set-face-attribute): Mention the evaluation order of attribute-value pairs in the docstring. * doc/lispref/display.texi (Attribute Functions): Likewise, and explain with an example that a different argument order might give different results. Also align the documentation in the manual with that of the docstring, whose changes were discussed in bug#57499 but not included in the manual. --- lisp/faces.el | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lisp/faces.el') diff --git a/lisp/faces.el b/lisp/faces.el index 29e26e4c651..fe683e437f5 100644 --- a/lisp/faces.el +++ b/lisp/faces.el @@ -690,6 +690,10 @@ be reset to `unspecified' when creating new frames, disregarding what the FACE's face spec says, call this function with FRAME set to t and the ATTRIBUTE's value set to `unspecified'. +Note that the ATTRIBUTE VALUE pairs are evaluated in the order +they are specified, except the `:family' and `:foundry' +attributes which are evaluated first. + The following attributes are recognized: `:family' -- cgit v1.2.1