aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorWerner LEMBERG2005-03-25 10:08:35 +0000
committerWerner LEMBERG2005-03-25 10:08:35 +0000
commitf8b00e0f4a6140a6a390ffb97c8f984bbf7df2de (patch)
treeb3c1fc460b8d3520520a6bd38c1d8a2f4108b3f5 /lisp
parent2e8b9c7d513e2e1723f0cc69826bab378ebe63ff (diff)
downloademacs-f8b00e0f4a6140a6a390ffb97c8f984bbf7df2de.tar.gz
emacs-f8b00e0f4a6140a6a390ffb97c8f984bbf7df2de.zip
* textmodes/reftex-vars.el, textmodes/reftex.el: Replace `legal'
with `valid'.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/textmodes/reftex-vars.el14
-rw-r--r--lisp/textmodes/reftex.el2
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
112005-03-25 Werner Lemberg <wl@gnu.org> 132005-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
749If DERIVE is t, RefTeX will try to derive a sensible label from context. 749If DERIVE is t, RefTeX will try to derive a sensible label from context.
750A section label for example will be derived from the section heading. 750A section label for example will be derived from the section heading.
751The conversion of the context to a legal label is governed by the 751The conversion of the context to a valid label is governed by the
752specifications given in `reftex-derive-label-parameters'. 752specifications given in `reftex-derive-label-parameters'.
753If RefTeX fails to derive a label, it will prompt the user. 753If RefTeX fails to derive a label, it will prompt the user.
754If DERIVE is nil, the label generated will consist of the prefix and a 754If 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.
795RefTeX's default function uses the variable `reftex-derive-label-parameters'." 795RefTeX'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
801to derive a label from it. The intended application is to convert ISO or 801to derive a label from it. The intended application is to convert ISO or
802Mule characters into something legal in labels. The default function 802Mule characters into something valid in labels. The default function
803removes the accents from Latin-1 characters. X-Symbol (>=2.6) sets this 803removes the accents from Latin-1 characters. X-Symbol (>=2.6) sets this
804variable to the much more general `x-symbol-translate-to-ascii'." 804variable 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
1228The final entry may also be a symbol if this entry has a association 1228The final entry may also be a symbol if this entry has a association
1229in the variable `reftex-index-macros-builtin' to specify the main 1229in the variable `reftex-index-macros-builtin' to specify the main
1230indexing package you are using. Legal values are currently 1230indexing package you are using. Valid values are currently
1231default The LaTeX default - unnecessary to specify this one 1231default The LaTeX default - unnecessary to specify this one
1232multind The multind.sty package 1232multind The multind.sty package
1233index The index.sty package 1233index The index.sty package
@@ -1282,7 +1282,7 @@ DEFAULT-TAG: This is the tag to be used if the macro requires a TAG argument.
1282When working with multiple indexes, RefTeX queries for an index tag when 1282When working with multiple indexes, RefTeX queries for an index tag when
1283creating index entries or displaying a specific index. This variable controls 1283creating index entries or displaying a specific index. This variable controls
1284the default offered for these queries. The default can be selected with RET 1284the default offered for these queries. The default can be selected with RET
1285during selection or completion. Legal values of this variable are: 1285during selection or completion. Valid values of this variable are:
1286 1286
1287nil Do not provide a default index 1287nil 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
1528TYPE: File type like \"bib\" or \"tex\". 1528TYPE: File type like \"bib\" or \"tex\".
1529DEF-EXT: The default extension for that file type, like \".tex\" or \".bib\". 1529DEF-EXT: The default extension for that file type, like \".tex\" or \".bib\".
1530OTHER-EXT: Any number of other legal extensions for this file type. 1530OTHER-EXT: Any number of other valid extensions for this file type.
1531 1531
1532When a files is searched and it does not have any of the legal extensions, 1532When a files is searched and it does not have any of the valid extensions,
1533we try the default extension first, and then the naked file name. 1533we try the default extension first, and then the naked file name.
1534 1534
1535If you are using AUCTeX, you also need to add new extensions to 1535If 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.
1428If the file does not have any of the legal extensions for TYPE, 1428If the file does not have any of the valid extensions for TYPE,
1429try first the default extension and only then the naked file name. 1429try first the default extension and only then the naked file name.
1430When DIE is non-nil, throw an error if file not found." 1430When 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)))