diff options
| author | Bastien Guerry <bzg@altern.org> | 2013-03-19 17:09:01 (GMT) |
|---|---|---|
| committer | Bastien Guerry <bzg@altern.org> | 2013-03-19 18:39:35 (GMT) |
| commit | 492e20dbfa1e8112898ee2695feed626781602cb (patch) | |
| tree | efe9f1b95baefe941e916d2ce86e00b2122b2fd8 | |
| parent | 1ab084ba730f1205cf04ef72b0f62b6a8a70749e (diff) | |
| download | org-mode-492e20dbfa1e8112898ee2695feed626781602cb.zip org-mode-492e20dbfa1e8112898ee2695feed626781602cb.tar.gz | |
ox.el (org-export-as): Allow user functions in `org-export-before-parsing-hook' to modify the point
* ox.el (org-export-as): Allow user functions in
`org-export-before-parsing-hook' to modify the point.
Thanks to Charles Berry for reporting this.
| -rw-r--r-- | lisp/ox.el | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2881,7 +2881,8 @@ Return code as a string." (org-update-radio-target-regexp) ;; Run last hook with current back-end as argument. (goto-char (point-min)) - (run-hook-with-args 'org-export-before-parsing-hook backend) + (save-excursion + (run-hook-with-args 'org-export-before-parsing-hook backend)) ;; Update communication channel with environment. Also ;; install user's and developer's filters. (setq info |
