diff options
| author | Carsten Dominik | 2009-02-06 09:42:13 +0000 |
|---|---|---|
| committer | Carsten Dominik | 2009-02-06 09:42:13 +0000 |
| commit | 0b91aef0f38dfda986d5dbcc004c9c52a12693fd (patch) | |
| tree | b68306a4b8ec1e44d2626f82407922d8a5ea8159 | |
| parent | 81d8114e203ba2c9dc71ab82ecd6d4f653466f64 (diff) | |
| download | emacs-0b91aef0f38dfda986d5dbcc004c9c52a12693fd.tar.gz emacs-0b91aef0f38dfda986d5dbcc004c9c52a12693fd.zip | |
2009-02-06 Carsten Dominik <dominik@science.uva.nl>
* org.el (org-format-latex): Stop LaTeX fragment processing in
protected examples.
| -rw-r--r-- | lisp/org/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/org/org.el | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/lisp/org/ChangeLog b/lisp/org/ChangeLog index a77f359e29a..da098fdba1f 100644 --- a/lisp/org/ChangeLog +++ b/lisp/org/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2009-02-06 Carsten Dominik <dominik@science.uva.nl> | ||
| 2 | |||
| 3 | * org.el (org-format-latex): Stop LaTeX fragment processing in | ||
| 4 | protected examples. | ||
| 5 | |||
| 1 | 2009-02-05 Glenn Morris <rgm@gnu.org> | 6 | 2009-02-05 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * org-rmail.el (rmail-show-message): Update declaration. | 8 | * org-rmail.el (rmail-show-message): Update declaration. |
diff --git a/lisp/org/org.el b/lisp/org/org.el index e98750b48e7..e34c8188a7a 100644 --- a/lisp/org/org.el +++ b/lisp/org/org.el | |||
| @@ -12709,7 +12709,9 @@ The images can be removed again with \\[org-ctrl-c-ctrl-c]." | |||
| 12709 | (when (member m matchers) | 12709 | (when (member m matchers) |
| 12710 | (goto-char (point-min)) | 12710 | (goto-char (point-min)) |
| 12711 | (while (re-search-forward re nil t) | 12711 | (while (re-search-forward re nil t) |
| 12712 | (when (or (not at) (equal (cdr at) (match-beginning n))) | 12712 | (when (and (or (not at) (equal (cdr at) (match-beginning n))) |
| 12713 | (not (get-text-property (match-beginning n) | ||
| 12714 | 'org-protected))) | ||
| 12713 | (setq txt (match-string n) | 12715 | (setq txt (match-string n) |
| 12714 | beg (match-beginning n) end (match-end n) | 12716 | beg (match-beginning n) end (match-end n) |
| 12715 | cnt (1+ cnt) | 12717 | cnt (1+ cnt) |