]> git.eshelyaron.com Git - emacs.git/commit
Fix RefTeX to show table of contents for dtx files (tiny change)
authorSašo Živanović <saso.zivanovic@guest.arnes.si>
Fri, 30 Dec 2016 10:12:42 +0000 (11:12 +0100)
committerTassilo Horn <tsdh@gnu.org>
Mon, 2 Jan 2017 12:11:49 +0000 (13:11 +0100)
commit1e8bb313eaa98928dc258f4b903bb10c33c21642
treeaa89bdc6986080f3500bc79ccd955e39ec14f05a
parent367dadf5541f3cc10ba992efb885bd259246ca66
Fix RefTeX to show table of contents for dtx files (tiny change)

* lisp/textmodes/reftex.el (reftex-compile-variables): Change the
  section regexp so that it accepts lines starting with the comment
  character. (tiny change)
* lisp/textmodes/reftex-parse.el (reftex-parse-from-file): Filter
  gathered toc entries, accepting a commented entry if and only if the
  source file is a ".dtx" file. (tiny change)
lisp/textmodes/reftex-parse.el
lisp/textmodes/reftex.el