]> git.eshelyaron.com Git - emacs.git/commit
* lisp/faces.el: Refactor common code and fix a bug
authorArtur Malabarba <bruce.connor.am@gmail.com>
Fri, 30 Oct 2015 15:00:37 +0000 (15:00 +0000)
committerArtur Malabarba <bruce.connor.am@gmail.com>
Fri, 30 Oct 2015 18:15:52 +0000 (18:15 +0000)
commit7ccedcb486ee4e37da54dd82a8557c80616d9467
tree0cfe822c5e8881d03c847e0bc2ce19468233c36a
parent5260ea68e02b1c1578330d1eeafdb8ff9079c6c9
* lisp/faces.el: Refactor common code and fix a bug

(faces--attribute-at-point): New function.  Fix a bug when the
face at point is a list of faces and the desired attribute is not
on the first one.
(foreground-color-at-point, background-color-at-point): Use it.
lisp/faces.el