aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/textmodes/reftex-ref.el
diff options
context:
space:
mode:
authorWerner LEMBERG2005-03-25 09:03:24 +0000
committerWerner LEMBERG2005-03-25 09:03:24 +0000
commit5181ff9f3d68ae3e1fe260430c1924fafa5b77c6 (patch)
tree91ddc9b4328b8db85c163bdcae16138b4a9baacf /lisp/textmodes/reftex-ref.el
parenteac9c0efd68cdd7a65439bb3958da1db56391bc9 (diff)
downloademacs-5181ff9f3d68ae3e1fe260430c1924fafa5b77c6.tar.gz
emacs-5181ff9f3d68ae3e1fe260430c1924fafa5b77c6.zip
* textmodes/refbib.el, textmodes/refer.el, textmodes/reftex-cite.el,
textmodes/reftex-index.el, textmodes/reftex-parse.el, textmodes/reftex-ref.el, textmodes/reftex-vars.el, textmodes/reftex.el, textmodes/org.el: Replace `illegal' with `invalid'.
Diffstat (limited to 'lisp/textmodes/reftex-ref.el')
-rw-r--r--lisp/textmodes/reftex-ref.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/textmodes/reftex-ref.el b/lisp/textmodes/reftex-ref.el
index 43095e2d684..6afbb77767c 100644
--- a/lisp/textmodes/reftex-ref.el
+++ b/lisp/textmodes/reftex-ref.el
@@ -1,5 +1,6 @@
1;;; reftex-ref.el --- code to create labels and references with RefTeX 1;;; reftex-ref.el --- code to create labels and references with RefTeX
2;; Copyright (c) 1997, 1998, 1999, 2000, 2003, 2004 Free Software Foundation, Inc. 2;; Copyright (c) 1997, 1998, 1999, 2000, 2003, 2004, 2005
3;; Free Software Foundation, Inc.
3 4
4;; Author: Carsten Dominik <dominik@science.uva.nl> 5;; Author: Carsten Dominik <dominik@science.uva.nl>
5;; Version: 4.26 6;; Version: 4.26
@@ -172,7 +173,7 @@ This function is controlled by the settings of reftex-insert-label-flags."
172 (nth 2 (reftex-label-info " " nil nil t)))) 173 (nth 2 (reftex-label-info " " nil nil t))))
173 ;; Catch the cases where the is actually no context available. 174 ;; Catch the cases where the is actually no context available.
174 (if (or (string-match "NO MATCH FOR CONTEXT REGEXP" default) 175 (if (or (string-match "NO MATCH FOR CONTEXT REGEXP" default)
175 (string-match "ILLEGAL VALUE OF PARSE" default) 176 (string-match "INVALID VALUE OF PARSE" default)
176 (string-match "SECTION HEADING NOT FOUND" default) 177 (string-match "SECTION HEADING NOT FOUND" default)
177 (string-match "HOOK ERROR" default) 178 (string-match "HOOK ERROR" default)
178 (string-match "^[ \t]*$" default)) 179 (string-match "^[ \t]*$" default))
@@ -217,7 +218,7 @@ This function is controlled by the settings of reftex-insert-label-flags."
217 218
218 ;; Test if label contains strange characters 219 ;; Test if label contains strange characters
219 ((string-match reftex-label-illegal-re label) 220 ((string-match reftex-label-illegal-re label)
220 (message "Label \"%s\" contains illegal characters" label) 221 (message "Label \"%s\" contains invalid characters" label)
221 (ding) 222 (ding)
222 (sit-for 2)) 223 (sit-for 2))
223 224