From 7b6095c53211978c73e1d686cd2d672cf28eb4c3 Mon Sep 17 00:00:00 2001 From: IGARASHI Masanao Date: Wed, 28 Dec 2016 04:09:35 +0900 Subject: [PATCH] Remove meaningless code --- ox-rst.el | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/ox-rst.el b/ox-rst.el index e6537c6..c73a4fb 100644 --- a/ox-rst.el +++ b/ox-rst.el @@ -414,8 +414,7 @@ See `org-rst-text-markup-alist' for details." ;; Handle the `verb' special case: Protect some ;; special chars and use "\\" escape. ((eq 'verb fmt) - (let ((start 0) - (rtn "") + (let ((rtn "") char) (while (string-match "\\`*" text) (setq char (match-string 0 text)) @@ -764,10 +763,7 @@ holding export options." ;; 1. Document's body. contents ;; 2. Footnote definitions. - (let ((definitions (org-export-collect-footnote-definitions info)) - ;; Insert full links right inside the footnote definition - ;; as they have no chance to be inserted later. - (org-rst-links-to-notes nil)) + (let ((definitions (org-export-collect-footnote-definitions info))) (when definitions (concat "\n\n"