Closed AtomicNess123 closed 2 years ago
how do you execute this code in your init file? before requiring? after loading helm-swoop? Maybe I can help you if there's a more elaborated example... :thinking:
I had it as is. In the meanwhile I found this syntax that seems to work:
(set-face-attribute 'helm-swoop-target-word-face nil
:background "#e33987"
:foreground 'unspecified
:inherit 'isearch)
I am not sure what inherit : 'isearch
refers to, maybe you could explain? Thanks!
I had it as is.
I can't understand your code, isn't it just the same code in helm-swoop.el? What kind of customize you did?
I am not sure what inherit : 'isearch refers to, maybe you could explain? Thanks!
Elisp manual says that :inherit
would merge the attributes from the give face, just like inheritance in some OO lanugage.
It's not exactly the same, in helm-swoop.el it's expressed with defface, but defface does not seem to work when declared in init. Thanks for the :inherit explanation. That means it gets the face parameters from isearch?
Thanks for the :inherit explanation. That means it gets the face parameters from isearch?
Yes, the parameter without explicit modification will inherit from isearch.
This is not working in my init to change the faces of helm-swoop. Any help welcome, thanks.