org-macro: Fix expansion in narrowed buffers
commit9ab973d0a64b0733528a74f3b8fcefb65a3abb0c
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Thu, 28 Jan 2016 23:52:49 +0000 (29 00:52 +0100)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Thu, 28 Jan 2016 23:52:49 +0000 (29 00:52 +0100)
treede0860ff2af4bac62002d32d4e9de3b188d9a47f
parent75ee067410abf0ebab77b1b05d7dcfe2ddf53f4d
org-macro: Fix expansion in narrowed buffers

* lisp/org-macro.el (org-macro-replace-all): Expand macro even outside
  narrowed part of the buffer.

* testing/lisp/test-org-macro.el (test-org/macro-replace-all): Add test.

Reported-by: Kaushal Modi <kaushal.modi@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/104562>
lisp/org-macro.el
testing/lisp/test-org-macro.el