Fix: (--add-priority-face) match-string
Oops...
This commit is contained in:
parent
e04c1212a0
commit
d722e4db72
1 changed files with 1 additions and 1 deletions
|
|
@ -163,7 +163,7 @@ Its property list should be the second item in the list, as returned by `org-ele
|
|||
(defun org-agenda-ng--add-priority-face (string)
|
||||
"Return STRING with priority face added."
|
||||
(when (string-match "\\(\\[#\\(.\\)\\]\\)" string)
|
||||
(let ((face (org-get-priority-face (string-to-char (match-string 2)))))
|
||||
(let ((face (org-get-priority-face (string-to-char (match-string 2 string)))))
|
||||
(org-add-props string nil 'face face 'font-lock-fontified t))))
|
||||
|
||||
(defun org-agenda-ng--add-scheduled-face (element)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue