소스 검색

ox-org: Tiny refactoring

* lisp/ox-org.el (org-org-section): Tiny refactoring.  Use appropriate
  property.
Nicolas Goaziou 11 년 전
부모
커밋
bc456879ff
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      lisp/ox-org.el

+ 1 - 1
lisp/ox-org.el

@@ -157,7 +157,7 @@ a communication channel."
    (let ((footnotes-alist
 	  (org-element-map section 'footnote-reference
 	    (lambda (fn)
-	      (and (not (org-element-property :inline-definition fn))
+	      (and (eq (org-element-property :type fn) 'standard)
 		   (org-export-footnote-first-reference-p fn info)
 		   (cons (org-element-property :label fn)
 			 (org-export-get-footnote-definition fn info))))