mirror of
https://github.com/SqrtMinusOne/org-journal-tags.git
synced 2025-12-10 10:53:04 +03:00
fix: org-font-lock-ensure -> font-lock-ensure
This commit is contained in:
parent
7c33800e00
commit
687c95eea6
1 changed files with 6 additions and 5 deletions
|
|
@ -1631,14 +1631,15 @@ properties of REF."
|
|||
(let ((org-mode-hook nil))
|
||||
(org-mode))
|
||||
(org-journal-tags--ensure-decrypted)
|
||||
(org-font-lock-ensure)
|
||||
(font-lock-ensure)
|
||||
(puthash file-name (buffer-string)
|
||||
org-journal-tags--files-cache)))
|
||||
(string-trim
|
||||
(substring
|
||||
(gethash file-name org-journal-tags--files-cache)
|
||||
(1- (or start (org-journal-tag-reference-ref-start ref)))
|
||||
(1- (or end (org-journal-tag-reference-ref-end ref)))))))
|
||||
(org-link-display-format
|
||||
(substring
|
||||
(gethash file-name org-journal-tags--files-cache)
|
||||
(1- (or start (org-journal-tag-reference-ref-start ref)))
|
||||
(1- (or end (org-journal-tag-reference-ref-end ref))))))))
|
||||
|
||||
(defun org-journal-tags--string-match-indices (regex string)
|
||||
"Get indices of REGEX matches in STRING."
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue