Fix last commit
* lisp/org.el (org-do-latex-and-related): Extract face from the correct location.
This commit is contained in:
parent
74bb33d464
commit
0f8c6b0b2e
|
@ -6174,7 +6174,9 @@ done, nil otherwise."
|
|||
(cl-some
|
||||
(lambda (f)
|
||||
(memq f '(org-code org-verbatim underline org-special-keyword)))
|
||||
(face-at-point nil t))
|
||||
(save-excursion
|
||||
(goto-char (1+ (match-beginning 0)))
|
||||
(face-at-point nil t)))
|
||||
(let ((offset (if (memq (char-after (1+ (match-beginning 0)))
|
||||
'(?_ ?^))
|
||||
1
|
||||
|
|
Loading…
Reference in New Issue