Skip to content

Commit

Permalink
Simplify
Browse files Browse the repository at this point in the history
Pass face `org-super-agenda-header` to `org-add-props`
  • Loading branch information
casch-at authored and alphapapa committed Sep 23, 2023
1 parent f578ae3 commit 5a4b381
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion org-super-agenda.el
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,8 @@ of `org-super-agenda-header-map', which see."
"\n"))
(string org-super-agenda-header-separator))))
(set-text-properties 0 (length header) properties header)
(add-face-text-property 0 (length header) 'org-super-agenda-header t header)
(org-add-props header org-super-agenda-header-properties
'face 'org-super-agenda-header
'org-super-agenda-header t
'keymap org-super-agenda-header-map
;; NOTE: According to the manual, only `keymap' should be necessary, but in my
Expand Down

0 comments on commit 5a4b381

Please sign in to comment.