diff options
| author | Arash Esbati | 2021-01-12 17:18:24 +0100 |
|---|---|---|
| committer | Tassilo Horn | 2021-01-12 20:42:03 +0100 |
| commit | d93de0b4121f03d19ef6bd985ed383f359577cb8 (patch) | |
| tree | 7357b73c131af51838538cdf27feaa134f018b13 | |
| parent | 0f6c083251ccc727d0b18a62cdd99901aa692c78 (diff) | |
| download | emacs-d93de0b4121f03d19ef6bd985ed383f359577cb8.tar.gz emacs-d93de0b4121f03d19ef6bd985ed383f359577cb8.zip | |
; Update docstring
* lisp/textmodes/reftex-vars.el (reftex-label-regexps): Track the
latest addition of "frame" environment.
| -rw-r--r-- | lisp/textmodes/reftex-vars.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/textmodes/reftex-vars.el b/lisp/textmodes/reftex-vars.el index d4c1b87262e..1b29eafabf7 100644 --- a/lisp/textmodes/reftex-vars.el +++ b/lisp/textmodes/reftex-vars.el | |||
| @@ -900,7 +900,7 @@ DOWNCASE t: Downcase words before using them." | |||
| 900 | ,(concat | 900 | ,(concat |
| 901 | ;; Make sure we search only for optional arguments of | 901 | ;; Make sure we search only for optional arguments of |
| 902 | ;; environments/macros and don't match any other [. ctable | 902 | ;; environments/macros and don't match any other [. ctable |
| 903 | ;; provides a macro called \ctable, listings/breqn have | 903 | ;; provides a macro called \ctable, beamer/breqn/listings have |
| 904 | ;; environments. Start with a backslash and a group for names | 904 | ;; environments. Start with a backslash and a group for names |
| 905 | "\\\\\\(?:" | 905 | "\\\\\\(?:" |
| 906 | ;; begin, optional spaces and opening brace | 906 | ;; begin, optional spaces and opening brace |
| @@ -936,8 +936,9 @@ The default value matches usual \\label{...} definitions and | |||
| 936 | keyval style [..., label = {...}, ...] label definitions. The | 936 | keyval style [..., label = {...}, ...] label definitions. The |
| 937 | regexp for keyval style explicitly looks for environments | 937 | regexp for keyval style explicitly looks for environments |
| 938 | provided by the packages \"listings\" (\"lstlisting\"), | 938 | provided by the packages \"listings\" (\"lstlisting\"), |
| 939 | \"breqn\" (\"dmath\", \"dseries\", \"dgroup\", \"darray\") and | 939 | \"beamer\" (\"frame\"), \"breqn\" (\"dmath\", \"dseries\", |
| 940 | the macro \"\\ctable\" provided by the package of the same name. | 940 | \"dgroup\", \"darray\") and the macro \"\\ctable\" provided by |
| 941 | the package of the same name. | ||
| 941 | 942 | ||
| 942 | It is assumed that the regexp group 1 matches the label text, so | 943 | It is assumed that the regexp group 1 matches the label text, so |
| 943 | you have to define it using \\(?1:...\\) when adding new regexps. | 944 | you have to define it using \\(?1:...\\) when adding new regexps. |