]> git.eshelyaron.com Git - emacs.git/commitdiff
; Add a comment in recently installed code
authorPo Lu <luangruo@yahoo.com>
Tue, 1 Mar 2022 12:48:55 +0000 (20:48 +0800)
committerPo Lu <luangruo@yahoo.com>
Tue, 1 Mar 2022 12:48:55 +0000 (20:48 +0800)
* faces.el (face-spec-recalc): Add a comment describing the
special treatement of the scroll-bar face.

lisp/faces.el

index 4b582ac4397b427d14b43c9efd4946bf40f4a10b..30f8483159a9355a796e389472b594b56cb4a0d1 100644 (file)
@@ -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)))))