summaryrefslogtreecommitdiff
path: root/lisp/org-macro.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/org-macro.el')
-rw-r--r--lisp/org-macro.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/org-macro.el b/lisp/org-macro.el
index e808972..fee33f6 100644
--- a/lisp/org-macro.el
+++ b/lisp/org-macro.el
@@ -1,6 +1,6 @@
;;; org-macro.el --- Macro Replacement Code for Org Mode
-;; Copyright (C) 2013-2015 Free Software Foundation, Inc.
+;; Copyright (C) 2013-2016 Free Software Foundation, Inc.
;; Author: Nicolas Goaziou <n.goaziou@gmail.com>
;; Keywords: outlines, hypermedia, calendar, wp
@@ -188,7 +188,7 @@ found in the buffer with no definition in TEMPLATES.
Optional argument KEYWORDS, when non-nil is a list of keywords,
as strings, where macro expansion is allowed."
- (save-excursion
+ (org-with-wide-buffer
(goto-char (point-min))
(let ((properties-regexp
(format "\\`EXPORT_%s\\+?\\'" (regexp-opt keywords)))