ソースを参照

Merge branch 'master' into next

Nicolas Goaziou 6 年 前
コミット
01a4f33568
1 ファイル変更1 行追加4 行削除
  1. 1 4
      lisp/ox.el

+ 1 - 4
lisp/ox.el

@@ -2673,10 +2673,7 @@ The function assumes BUFFER's major mode is `org-mode'."
 				    (quote ,val))
 			      vars))))))
 	 ;; Whole buffer contents.
-	 (insert
-	  ,(org-with-wide-buffer
-	    (buffer-substring-no-properties
-	     (point-min) (point-max))))
+	 (insert ,(org-with-wide-buffer (buffer-string)))
 	 ;; Narrowing.
 	 ,(if (org-region-active-p)
 	      `(narrow-to-region ,(region-beginning) ,(region-end))