bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#48936: 27.2; pulse-reset-face and extend attribute of pulse-highligh


From: Gustavo Barros
Subject: bug#48936: 27.2; pulse-reset-face and extend attribute of pulse-highligh-face
Date: Sun, 13 Jun 2021 10:45:57 -0300
User-agent: mu4e 1.4.15; emacs 27.2

Hi Lars,

On Sun, 13 Jun 2021 at 10:39, Lars Ingebrigtsen <larsi@gnus.org> wrote:

Gustavo Barros <gusbrs.2016@gmail.com> writes:

But my suggestion was more the one to use the `:extend' attribute of `pulse-highlight-start-face' to reset `pulse-highlight-face'. Like:

#+begin_src emacs-lisp
(set-face-extend 'pulse-highlight-face
(if face (face-extend-p face nil t)
                   (face-extend-p 'pulse-highlight-start-face)))
#+end_src

Oh, right.  Now pushed something similar.

Thank you very much.

And, if you allow me a minor related "side report" (just noticed it now). The `face-extend-p' function in the Elisp manual is missing the `inherit' argument at:

http://git.savannah.gnu.org/cgit/emacs.git/tree/doc/lispref/display.texi?id=00802c0cfeea4218802509693ca0f5d2593f8a7c#n3010

Best regards,
Gustavo.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]