Browse Source

ox-md: pacify byte compiler

* lisp/ox-md.el (org-md--footnote-section):
(org-md-inner-template): Fix byte compiler warnings.
Aaron Ecay 8 năm trước cách đây
mục cha
commit
17efe53170
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      lisp/ox-md.el

+ 2 - 2
lisp/ox-md.el

@@ -514,7 +514,7 @@ INFO is a plist with contextual information."
   "Format the footnote section.
 INFO is a plist used as a communication channel."
   (let* ((fn-alist (org-export-collect-footnote-definitions info))
-         (fn-alist (cl-loop for (n type raw) in fn-alist collect
+         (fn-alist (cl-loop for (n _type raw) in fn-alist collect
                             (cons n (org-trim (org-export-data raw info)))))
          (headline-style (plist-get info :md-headline-style))
          (section-title (org-html--translate "Footnotes" info)))
@@ -539,7 +539,7 @@ holding export options."
    contents
    "\n"
    ;; Footnotes section.
-   (org-md-footnote--section info)))
+   (org-md--footnote-section info)))
 
 (defun org-md-template (contents _info)
   "Return complete document string after Markdown conversion.