Skip to content

Commit f94551c

Browse files
committed
Tiny refactoring
1 parent 02eb958 commit f94551c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

org-edit-latex.el

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,10 +209,12 @@ header."
209209
(pb (org-element-property :post-blank ele))
210210
(pa (org-element-property :post-affiliated ele))
211211
(type (cond
212-
((eq (car ele) 'latex-environment) 'environment)
212+
((eq (car ele) 'latex-environment)
213+
'environment)
213214
((save-excursion
214215
(goto-char beg)
215-
(looking-at-p org-edit-latex-inline-beg-regexp)) 'inline)
216+
(looking-at-p org-edit-latex-inline-beg-regexp))
217+
'inline)
216218
(t nil)))
217219
(pt (point)))
218220
(save-excursion

0 commit comments

Comments
 (0)