forked from mirrors/org-mode
Add detailed location to "org-mode fontification error"
* lisp/org.el (org-fontify-meta-lines-and-blocks): Update.
This commit is contained in:
parent
e85f80e2f8
commit
8614a2476f
|
@ -5848,7 +5848,9 @@ by a #."
|
|||
(defun org-fontify-meta-lines-and-blocks (limit)
|
||||
(condition-case nil
|
||||
(org-fontify-meta-lines-and-blocks-1 limit)
|
||||
(error (message "org-mode fontification error"))))
|
||||
(error (message "org-mode fontification error in %S at %d"
|
||||
(current-buffer)
|
||||
(line-number-at-pos)))))
|
||||
|
||||
(defun org-fontify-meta-lines-and-blocks-1 (limit)
|
||||
"Fontify #+ lines and blocks."
|
||||
|
|
Loading…
Reference in New Issue