diff options
author | Bastien Guerry <bastien1@free.fr> | 2012-05-16 23:53:39 +0200 |
---|---|---|
committer | Bastien Guerry <bastien1@free.fr> | 2012-05-16 23:53:39 +0200 |
commit | eb2adf0a299180c4c78253c8b3ccc9c3da9c3805 (patch) | |
tree | 225d82a6b97b7c8471f8b2b3ce2c8d39e938541b /lisp/org/ob.el | |
parent | 8c8b834fa997dbfd1b87abc1368a4680d1833e15 (diff) | |
download | emacs-eb2adf0a299180c4c78253c8b3ccc9c3da9c3805.tar.gz emacs-eb2adf0a299180c4c78253c8b3ccc9c3da9c3805.tar.bz2 emacs-eb2adf0a299180c4c78253c8b3ccc9c3da9c3805.zip |
ob.el: Fix bug.
Diffstat (limited to 'lisp/org/ob.el')
-rw-r--r-- | lisp/org/ob.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/org/ob.el b/lisp/org/ob.el index f3b7d6814bd..69d7da4cb0e 100644 --- a/lisp/org/ob.el +++ b/lisp/org/ob.el @@ -1159,7 +1159,8 @@ may be specified in the properties of the current outline entry." (substring body 0 sub-length) (or body ""))))) (preserve-indentation (or org-src-preserve-indentation - (string-match "-i\\>" switches)))) + (save-match-data + (string-match "-i\\>" switches))))) (list lang ;; get block body less properties, protective commas, and indentation (with-temp-buffer |