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
1 changed files with 1 additions and 1 deletions

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