org-fold-core-fontify-region: Remove unused variable

* lisp/org-fold-core.el (org-fold-core-fontify-region):
This commit is contained in:
Ihor Radchenko 2022-04-24 17:50:13 +08:00
parent 312f39a05d
commit 2249f4d7e5
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B
1 changed files with 1 additions and 1 deletions

View File

@ -1471,7 +1471,7 @@ folded regions.")
(save-match-data
;; Only run within regions that are not yet touched by
;; fontification.
(let ((l pos) (r next) (c pos) nxt)
(let ((r next) (c pos) nxt)
(when (get-text-property c 'org-fold-core-fontified)
(setq c (next-single-property-change c 'org-fold-core-fontified)))
(setq nxt (next-single-property-change c 'org-fold-core-fontified nil r))