Merge branch 'maint'

This commit is contained in:
Nicolas Goaziou 2014-06-15 09:30:54 +02:00
commit 03dfc23505
1 changed files with 3 additions and 3 deletions

View File

@ -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)