]> code.delx.au - gnu-emacs/blobdiff - lisp/textmodes/reftex-parse.el
Merge from emacs-24; up to 2012-12-06T01:39:03Z!monnier@iro.umontreal.ca
[gnu-emacs] / lisp / textmodes / reftex-parse.el
index 095c59539470cc860c52548c36e8fa35de9bbf63..a86b10e21cc1a4bc1b788fa01432f025b289e078 100644 (file)
@@ -251,7 +251,7 @@ of master file."
                 ;; the next parsing iteration.
                 (when (eq (char-before) ?\\) (backward-char))
                  ;; Insert in List
-                 (setq toc-entry (reftex-section-info file))
+                 (setq toc-entry (funcall reftex-section-info-function file))
                  (when toc-entry
                    ;; It can happen that section info returns nil
                    (setq level (nth 5 toc-entry))