From 951ae54c2e050ae248f9b82db00e0f1a0c82ed50 Mon Sep 17 00:00:00 2001 From: Rasmus Date: Wed, 8 Apr 2015 22:00:50 +0200 Subject: [PATCH] ox-ascii: Fix 12a6303 * ox-ascii.el (org-ascii-template--document-title): Take full lines into considerations for titles. --- lisp/ox-ascii.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ox-ascii.el b/lisp/ox-ascii.el index 1caa346bc..388c5b82f 100644 --- a/lisp/ox-ascii.el +++ b/lisp/ox-ascii.el @@ -1013,7 +1013,7 @@ INFO is a plist used as a communication channel." ;; Format TITLE. It may be filled if it is too wide, ;; that is wider than the two thirds of the total width. (title-len (min (apply #'max - (mapcar #'length (org-split-string title))) + (mapcar #'length (org-split-string title "\n"))) (/ (* 2 text-width) 3))) (formatted-title (org-ascii--fill-string title title-len info)) (line