diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2014-06-15 09:30:54 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2014-06-15 09:30:54 +0200 |
commit | 03dfc23505cd8b9de902454fa0857ff3dbaa6cb8 (patch) | |
tree | 69e7b3917fc12374b5d24a9ad6513fd7d58bfa0b | |
parent | 23496c5e4e866b795e5062d89ebb624924347871 (diff) | |
parent | 61e06a038adc302922c338c6a1956bc51d7bf95d (diff) | |
download | org-mode-03dfc23505cd8b9de902454fa0857ff3dbaa6cb8.tar.gz |
Merge branch 'maint'
-rw-r--r-- | lisp/org-macs.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/org-macs.el b/lisp/org-macs.el index ddd6e2e..96265ec 100644 --- a/lisp/org-macs.el +++ b/lisp/org-macs.el @@ -154,9 +154,9 @@ We use a macro so that the test can happen at compilation time." `(let ((,mpom ,pom)) (save-excursion (if (markerp ,mpom) (set-buffer (marker-buffer ,mpom))) - (save-excursion - (goto-char (or ,mpom (point))) - ,@body))))) + (org-with-wide-buffer + (goto-char (or ,mpom (point))) + ,@body))))) (def-edebug-spec org-with-point-at (form body)) (put 'org-with-point-at 'lisp-indent-function 1) |