1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-12-02 08:22:16 +00:00

fixed #+include file bug when :prefix was nil but :prefix1 was set

* lisp/org-exp.el (org-get-file-contents): by un-setting prefix1 to ""
  instead of to nil we avoid errors when :prefix1 is defined, but
  prefix is not.
This commit is contained in:
Eric Schulte 2010-06-13 14:27:49 -07:00
parent 33445118cf
commit e9b132d8ba

View File

@ -2013,7 +2013,7 @@ take care of the block they are in."
(goto-char (point-min))
(while (not (eobp))
(insert (or prefix1 prefix))
(setq prefix1 nil)
(setq prefix1 "")
(beginning-of-line 2)))
(buffer-string)
(when (member markup '("src" "example"))