I want to change the face attribute in Org-Agenda buffer only. So I need to change Org-Agenda face attribute buffer locally.
Here is my code: (which is globally)
(defun my-org-agenda-hl-line ()
(hl-line-mode)
(set-face-attribute 'hl-line nil
:box '(:color "deep pink" :line-width 2))
)
(add-hook 'org-agenda-mode-hook 'my-org-agenda-hl-line)
Please to help me make this buffer locally. Thanks
face-remap-add-relative
. // This is a nice answer that I should upvote. Once CHOU's answer gets enough votes, I'd upvote this one, too. ;-p – Rhoden