New answers tagged

0

This is how to do it: (add-to-list 'font-lock-extra-managed-props 'display) (font-lock-add-keywords nil '(("\\(\:TODO\:\\)" 1 `(face nil display ,(tag "TODO")))))


0

Well, it seemed that the problem was that the face properties which I wanted anzu-mode-line to take were still unspecified at the time of setting it, so I kept on messing around with hooks and with-eval-after-load until I came up with this (add-hook 'after-make-frame-functions (lambda (frame) (with-selected-frame frame (...


0

Use custom-set-faces instead (not tested). (custom-set-faces '(anzu-mode-line ((t (:foreground ,(face-attribute 'isearch :background) :background ,(face-attribute 'fringe :background))))))


0

Your question isn't clear to me. But I guess you're asking how to tell what faces actually have a visual effect on a given character. Not sure this answers the question at all, but: Node Displaying Faces of the Elisp manual says how various faces affect the display of a character they act on. C-u C-x = tells you what faces are used on the character after ...


0

Set variable hi-lock-face-defaults to the names of the faces you want. (add-to-list 'hi-lock-face-defaults "highlight") ; Add a face (`highlight`). or (setq hi-lock-face-defaults ; Set to just these 3 faces. '("dired-flagged" "highlight" "hi-yellow")) or (setq hi-lock-face-defaults ; Add multiple faces. (...


Top 50 recent answers are included