From 9d2daebfab20d09d0e62fc6959b4ab44be8b8841 Mon Sep 17 00:00:00 2001 From: Igarashi Masanao Date: Thu, 22 Feb 2018 21:55:29 +0900 Subject: [PATCH] Use info --- ox-rst.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ox-rst.el b/ox-rst.el index b8d7b1c..64bd226 100644 --- a/ox-rst.el +++ b/ox-rst.el @@ -1040,11 +1040,11 @@ information." ;;;; Paragraph -(defun org-rst-paragraph (_paragraph contents _info) +(defun org-rst-paragraph (_paragraph contents info) "Transcode a PARAGRAPH element from Org to reStructuredText. CONTENTS is the contents of the paragraph, as a string. INFO is the plist used as a communication channel." - (when (plist-get _info :preserve-breaks) + (when (plist-get info :preserve-breaks) (let ((lines (split-string contents "\n+[ \t\n]*"))) (cond ((> (length lines) 2) (setq contents (apply 'concat (mapcar