diff options
| author | Werner LEMBERG | 2005-03-25 10:08:35 +0000 |
|---|---|---|
| committer | Werner LEMBERG | 2005-03-25 10:08:35 +0000 |
| commit | f8b00e0f4a6140a6a390ffb97c8f984bbf7df2de (patch) | |
| tree | b3c1fc460b8d3520520a6bd38c1d8a2f4108b3f5 | |
| parent | 2e8b9c7d513e2e1723f0cc69826bab378ebe63ff (diff) | |
| download | emacs-f8b00e0f4a6140a6a390ffb97c8f984bbf7df2de.tar.gz emacs-f8b00e0f4a6140a6a390ffb97c8f984bbf7df2de.zip | |
* textmodes/reftex-vars.el, textmodes/reftex.el: Replace `legal'
with `valid'.
| -rw-r--r-- | lisp/ChangeLog | 2 | ||||
| -rw-r--r-- | lisp/textmodes/reftex-vars.el | 14 | ||||
| -rw-r--r-- | lisp/textmodes/reftex.el | 2 |
3 files changed, 10 insertions, 8 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 8d5ddc13c5a..a0bd9b2dad2 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -7,6 +7,8 @@ | |||
| 7 | * progmodes/cperl-mode.el, progmodes/idlw-shell.el, | 7 | * progmodes/cperl-mode.el, progmodes/idlw-shell.el, |
| 8 | progmodes/idlwave.el, progmodes/vhdl-mode.el: Replace `legal' with | 8 | progmodes/idlwave.el, progmodes/vhdl-mode.el: Replace `legal' with |
| 9 | `valid'. | 9 | `valid'. |
| 10 | * textmodes/reftex-vars.el, textmodes/reftex.el: Replace `legal' | ||
| 11 | with `valid'. | ||
| 10 | 12 | ||
| 11 | 2005-03-25 Werner Lemberg <wl@gnu.org> | 13 | 2005-03-25 Werner Lemberg <wl@gnu.org> |
| 12 | 14 | ||
diff --git a/lisp/textmodes/reftex-vars.el b/lisp/textmodes/reftex-vars.el index 4e770d88ecf..b2ca7bed250 100644 --- a/lisp/textmodes/reftex-vars.el +++ b/lisp/textmodes/reftex-vars.el | |||
| @@ -748,7 +748,7 @@ And here is the setup for RefTeX: | |||
| 748 | 748 | ||
| 749 | If DERIVE is t, RefTeX will try to derive a sensible label from context. | 749 | If DERIVE is t, RefTeX will try to derive a sensible label from context. |
| 750 | A section label for example will be derived from the section heading. | 750 | A section label for example will be derived from the section heading. |
| 751 | The conversion of the context to a legal label is governed by the | 751 | The conversion of the context to a valid label is governed by the |
| 752 | specifications given in `reftex-derive-label-parameters'. | 752 | specifications given in `reftex-derive-label-parameters'. |
| 753 | If RefTeX fails to derive a label, it will prompt the user. | 753 | If RefTeX fails to derive a label, it will prompt the user. |
| 754 | If DERIVE is nil, the label generated will consist of the prefix and a | 754 | If DERIVE is nil, the label generated will consist of the prefix and a |
| @@ -791,7 +791,7 @@ e (equation), n (footnote), N (endnote), plus any definitions in | |||
| 791 | (string :tag "selected label types" "")))) | 791 | (string :tag "selected label types" "")))) |
| 792 | 792 | ||
| 793 | (defcustom reftex-string-to-label-function 'reftex-string-to-label | 793 | (defcustom reftex-string-to-label-function 'reftex-string-to-label |
| 794 | "Function to turn an arbitrary string into a legal label. | 794 | "Function to turn an arbitrary string into a valid label. |
| 795 | RefTeX's default function uses the variable `reftex-derive-label-parameters'." | 795 | RefTeX's default function uses the variable `reftex-derive-label-parameters'." |
| 796 | :group 'reftex-making-and-inserting-labels | 796 | :group 'reftex-making-and-inserting-labels |
| 797 | :type 'symbol) | 797 | :type 'symbol) |
| @@ -799,7 +799,7 @@ RefTeX's default function uses the variable `reftex-derive-label-parameters'." | |||
| 799 | (defcustom reftex-translate-to-ascii-function 'reftex-latin1-to-ascii | 799 | (defcustom reftex-translate-to-ascii-function 'reftex-latin1-to-ascii |
| 800 | "Filter function which will process a context string before it is used | 800 | "Filter function which will process a context string before it is used |
| 801 | to derive a label from it. The intended application is to convert ISO or | 801 | to derive a label from it. The intended application is to convert ISO or |
| 802 | Mule characters into something legal in labels. The default function | 802 | Mule characters into something valid in labels. The default function |
| 803 | removes the accents from Latin-1 characters. X-Symbol (>=2.6) sets this | 803 | removes the accents from Latin-1 characters. X-Symbol (>=2.6) sets this |
| 804 | variable to the much more general `x-symbol-translate-to-ascii'." | 804 | variable to the much more general `x-symbol-translate-to-ascii'." |
| 805 | :group 'reftex-making-and-inserting-labels | 805 | :group 'reftex-making-and-inserting-labels |
| @@ -1227,7 +1227,7 @@ phrase buffer. | |||
| 1227 | 1227 | ||
| 1228 | The final entry may also be a symbol if this entry has a association | 1228 | The final entry may also be a symbol if this entry has a association |
| 1229 | in the variable `reftex-index-macros-builtin' to specify the main | 1229 | in the variable `reftex-index-macros-builtin' to specify the main |
| 1230 | indexing package you are using. Legal values are currently | 1230 | indexing package you are using. Valid values are currently |
| 1231 | default The LaTeX default - unnecessary to specify this one | 1231 | default The LaTeX default - unnecessary to specify this one |
| 1232 | multind The multind.sty package | 1232 | multind The multind.sty package |
| 1233 | index The index.sty package | 1233 | index The index.sty package |
| @@ -1282,7 +1282,7 @@ DEFAULT-TAG: This is the tag to be used if the macro requires a TAG argument. | |||
| 1282 | When working with multiple indexes, RefTeX queries for an index tag when | 1282 | When working with multiple indexes, RefTeX queries for an index tag when |
| 1283 | creating index entries or displaying a specific index. This variable controls | 1283 | creating index entries or displaying a specific index. This variable controls |
| 1284 | the default offered for these queries. The default can be selected with RET | 1284 | the default offered for these queries. The default can be selected with RET |
| 1285 | during selection or completion. Legal values of this variable are: | 1285 | during selection or completion. Valid values of this variable are: |
| 1286 | 1286 | ||
| 1287 | nil Do not provide a default index | 1287 | nil Do not provide a default index |
| 1288 | \"tag\" The default index tag given as a string, e.g. \"idx\". | 1288 | \"tag\" The default index tag given as a string, e.g. \"idx\". |
| @@ -1527,9 +1527,9 @@ This is a list of items, each item is like: (TYPE . (DEF-EXT OTHER-EXT ...)) | |||
| 1527 | 1527 | ||
| 1528 | TYPE: File type like \"bib\" or \"tex\". | 1528 | TYPE: File type like \"bib\" or \"tex\". |
| 1529 | DEF-EXT: The default extension for that file type, like \".tex\" or \".bib\". | 1529 | DEF-EXT: The default extension for that file type, like \".tex\" or \".bib\". |
| 1530 | OTHER-EXT: Any number of other legal extensions for this file type. | 1530 | OTHER-EXT: Any number of other valid extensions for this file type. |
| 1531 | 1531 | ||
| 1532 | When a files is searched and it does not have any of the legal extensions, | 1532 | When a files is searched and it does not have any of the valid extensions, |
| 1533 | we try the default extension first, and then the naked file name. | 1533 | we try the default extension first, and then the naked file name. |
| 1534 | 1534 | ||
| 1535 | If you are using AUCTeX, you also need to add new extensions to | 1535 | If you are using AUCTeX, you also need to add new extensions to |
diff --git a/lisp/textmodes/reftex.el b/lisp/textmodes/reftex.el index 68b3b408d60..865217dab08 100644 --- a/lisp/textmodes/reftex.el +++ b/lisp/textmodes/reftex.el | |||
| @@ -1425,7 +1425,7 @@ Valid actions are: readable, restore, read, kill, write." | |||
| 1425 | 1425 | ||
| 1426 | (defun reftex-locate-file (file type master-dir &optional die) | 1426 | (defun reftex-locate-file (file type master-dir &optional die) |
| 1427 | "Find FILE of type TYPE in MASTER-DIR or on the path associcted with TYPE. | 1427 | "Find FILE of type TYPE in MASTER-DIR or on the path associcted with TYPE. |
| 1428 | If the file does not have any of the legal extensions for TYPE, | 1428 | If the file does not have any of the valid extensions for TYPE, |
| 1429 | try first the default extension and only then the naked file name. | 1429 | try first the default extension and only then the naked file name. |
| 1430 | When DIE is non-nil, throw an error if file not found." | 1430 | When DIE is non-nil, throw an error if file not found." |
| 1431 | (let* ((rec-values (if reftex-search-unrecursed-path-first '(nil t) '(t))) | 1431 | (let* ((rec-values (if reftex-search-unrecursed-path-first '(nil t) '(t))) |