diff options
author | Vincent Belaïche <vincentb1@users.sourceforge.net> | 2012-11-25 06:05:34 +0100 |
---|---|---|
committer | Vincent Belaïche <vincentb1@users.sourceforge.net> | 2012-11-25 06:05:34 +0100 |
commit | e2cb57f5f5794d75cd237e2d6ec2b4d16157c2cd (patch) | |
tree | 0f863f509fe1c2ea0ed8d1b3e3fdf0a0b5d49dfd /lisp/textmodes/reftex-toc.el | |
parent | 1c4f115d4c4eb1aa71c25d21e8bdec2f8da97700 (diff) | |
download | emacs-e2cb57f5f5794d75cd237e2d6ec2b4d16157c2cd.tar.gz emacs-e2cb57f5f5794d75cd237e2d6ec2b4d16157c2cd.tar.bz2 emacs-e2cb57f5f5794d75cd237e2d6ec2b4d16157c2cd.zip |
* textmodes/reftex-parse.el (reftex-parse-from-file): Use variable reftex-section-info-function in order to be compatible with Texinfo integration.
* textmodes/reftex.el (reftex-section-pre-regexp, reftex-section-post-regexp, reftex-section-info-function): New variable. (reftex-compile-variables): Use variables reftex-section-pre-regexp, reftex-section-post-regexp, and reftex-section-info-function in order to be compatible with Texinfo integration.
* textmodes/reftex-toc.el (reftex-toc-promote-action): use reftex-section-pre-regexp variable in order to be compatible with Texinfo integration.
Diffstat (limited to 'lisp/textmodes/reftex-toc.el')
-rw-r--r-- | lisp/textmodes/reftex-toc.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/textmodes/reftex-toc.el b/lisp/textmodes/reftex-toc.el index 4f73322d3f5..eec15be4d83 100644 --- a/lisp/textmodes/reftex-toc.el +++ b/lisp/textmodes/reftex-toc.el @@ -785,7 +785,7 @@ PRO-OR-DE is assumed to be dynamically scoped into this function." (marker (nth 4 data))) (with-current-buffer (marker-buffer marker) (goto-char (marker-position marker)) - (if (looking-at (concat "\\([ \t]*\\\\\\)" (regexp-quote name))) + (if (looking-at (concat "\\([ \t]*" reftex-section-pre-regexp "\\)" (regexp-quote name))) (replace-match (concat "\\1" newname)) (error "Fatal error during %smotion" pro-or-de))))) |