diff options
| author | Eli Zaretskii <eliz@gnu.org> | 2020-04-04 09:59:16 +0300 |
|---|---|---|
| committer | Eli Zaretskii <eliz@gnu.org> | 2020-04-04 09:59:16 +0300 |
| commit | 05d365d3105371ec956f31f109a2de14c5cf67df (patch) | |
| tree | 9eaa7509c9bad23189eb563484b41a3aefcb2c93 | |
| parent | fd38c9c0afe2c5bbf04f565eec05daa52a16472b (diff) | |
| download | emacs-05d365d3105371ec956f31f109a2de14c5cf67df.tar.gz | |
Fix face spec handling for 'default' "terminal class"
* lisp/faces.el (face-spec-choose): Reverse order of 'defaults'
and 'result' when generating attribute list, so that the spec for
'default' "terminal class" is indeed overridden by the actual
class's spec, per the documentation. (Bug#40336)
| -rw-r--r-- | lisp/faces.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/faces.el b/lisp/faces.el index 9a49ea81042..e707f6f4b6e 100644 --- a/lisp/faces.el +++ b/lisp/faces.el @@ -1560,7 +1560,7 @@ is given, in which case return its value instead." ;; return it to the caller. Since there will most definitely be something to ;; return in this case, there's no need to know/check if a match was found. (if defaults - (append result defaults) + (append defaults result) (if match-found result no-match-retval)))) |
