save match data during indentation check
Thanks to Karl Berg for pointing out this issue.
This commit is contained in:
parent
429e6aafa6
commit
1b21168d52
|
@ -1159,7 +1159,8 @@ may be specified in the properties of the current outline entry."
|
||||||
(substring body 0 sub-length)
|
(substring body 0 sub-length)
|
||||||
(or body "")))))
|
(or body "")))))
|
||||||
(preserve-indentation (or org-src-preserve-indentation
|
(preserve-indentation (or org-src-preserve-indentation
|
||||||
(string-match "-i\\>" switches))))
|
(save-match-data
|
||||||
|
(string-match "-i\\>" switches)))))
|
||||||
(list lang
|
(list lang
|
||||||
;; get block body less properties, protective commas, and indentation
|
;; get block body less properties, protective commas, and indentation
|
||||||
(with-temp-buffer
|
(with-temp-buffer
|
||||||
|
|
Loading…
Reference in New Issue