Jelajahi Sumber

Merge branch 'maint'

Conflicts:
	lisp/ox-latex.el
Nicolas Goaziou 10 tahun lalu
induk
melakukan
a24ac01cd5
1 mengubah file dengan 2 tambahan dan 1 penghapusan
  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