From: Po Lu Date: Tue, 1 Mar 2022 12:48:55 +0000 (+0800) Subject: ; Add a comment in recently installed code X-Git-Tag: emacs-29.0.90~2061 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=87de4ad8bc227e7489373f546cb9c45c35d961c1;p=emacs.git ; Add a comment in recently installed code * faces.el (face-spec-recalc): Add a comment describing the special treatement of the scroll-bar face. --- diff --git a/lisp/faces.el b/lisp/faces.el index 4b582ac4397..30f8483159a 100644 --- a/lisp/faces.el +++ b/lisp/faces.el @@ -1748,7 +1748,8 @@ The following sources are applied in this order: ; during loadup. (eq face 'scroll-bar)) ;; Set the `scroll-bar-foreground' and `scroll-bar-background' - ;; frame parameters. (bug#13476) + ;; frame parameters, because the face is handled by setting + ;; those two parameters. (bug#13476) (set-frame-parameter frame 'scroll-bar-foreground (face-foreground face)) (set-frame-parameter frame 'scroll-bar-background (face-background face)))))