src: Fix typo

* lisp/org-src.el (org-edit-latex-fragment): Fix typo.
This commit is contained in:
Nicolas Goaziou 2020-05-26 23:09:52 +02:00
parent f5c47d857c
commit b51d129f3f
1 changed files with 1 additions and 1 deletions

View File

@ -977,7 +977,7 @@ Throw an error when not at such a table."
(org-element-property :begin context)
(- (org-element-property :end context)
(org-element-property :post-blank context))))
(delim-length (if (string-match "\\`\\$[^$]" contents)) 1 2))
(delim-length (if (string-match "\\`\\$[^$]" contents) 1 2)))
;; Make the LaTeX deliminators read-only.
(add-text-properties 0 delim-length
(list 'read-only "Cannot edit LaTeX deliminator"