From 87de4ad8bc227e7489373f546cb9c45c35d961c1 Mon Sep 17 00:00:00 2001 From: Po Lu Date: Tue, 1 Mar 2022 20:48:55 +0800 Subject: [PATCH] ; Add a comment in recently installed code * faces.el (face-spec-recalc): Add a comment describing the special treatement of the scroll-bar face. --- lisp/faces.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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))))) -- 2.39.5