瀏覽代碼

Merge branch 'maint'

Conflicts:
	lisp/ox-latex.el
Nicolas Goaziou 10 年之前
父節點
當前提交
a24ac01cd5
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      lisp/ox-latex.el

+ 2 - 1
lisp/ox-latex.el

@@ -1982,7 +1982,8 @@ INFO is a plist holding contextual information.  See
 			     #'number-to-string
 			     (org-export-get-headline-number destination info)
 			     "-")))))
-	     (if (and (plist-get info :section-numbers) (not desc))
+	     (if (and (not desc)
+		      (org-export-numbered-headline-p destination info))
 		 (format "\\ref{%s}" label)
 	       (format "\\hyperref[%s]{%s}" label
 		       (or desc