/[emacs]/emacs/lisp/textmodes/reftex-ref.el
ViewVC logotype

Diff of /emacs/lisp/textmodes/reftex-ref.el

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.19 by cdominik, Fri Jan 14 10:12:03 2005 UTC revision 1.20 by wl, Fri Mar 25 09:03:24 2005 UTC
# Line 1  Line 1 
1  ;;; reftex-ref.el --- code to create labels and references with RefTeX  ;;; reftex-ref.el --- code to create labels and references with RefTeX
2  ;; Copyright (c) 1997, 1998, 1999, 2000, 2003, 2004 Free Software Foundation, Inc.  ;; Copyright (c) 1997, 1998, 1999, 2000, 2003, 2004, 2005
3    ;;  Free Software Foundation, Inc.
4    
5  ;; Author: Carsten Dominik <dominik@science.uva.nl>  ;; Author: Carsten Dominik <dominik@science.uva.nl>
6  ;; Version: 4.26  ;; Version: 4.26
# Line 172  This function is controlled by the setti Line 173  This function is controlled by the setti
173                         (nth 2 (reftex-label-info " " nil nil t))))                         (nth 2 (reftex-label-info " " nil nil t))))
174          ;; Catch the cases where the is actually no context available.          ;; Catch the cases where the is actually no context available.
175          (if (or (string-match "NO MATCH FOR CONTEXT REGEXP" default)          (if (or (string-match "NO MATCH FOR CONTEXT REGEXP" default)
176                  (string-match "ILLEGAL VALUE OF PARSE" default)                  (string-match "INVALID VALUE OF PARSE" default)
177                  (string-match "SECTION HEADING NOT FOUND" default)                  (string-match "SECTION HEADING NOT FOUND" default)
178                  (string-match "HOOK ERROR" default)                  (string-match "HOOK ERROR" default)
179                  (string-match "^[ \t]*$" default))                  (string-match "^[ \t]*$" default))
# Line 217  This function is controlled by the setti Line 218  This function is controlled by the setti
218    
219               ;; Test if label contains strange characters               ;; Test if label contains strange characters
220               ((string-match reftex-label-illegal-re label)               ((string-match reftex-label-illegal-re label)
221                (message "Label \"%s\" contains illegal characters" label)                (message "Label \"%s\" contains invalid characters" label)
222                (ding)                (ding)
223                (sit-for 2))                (sit-for 2))
224    

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26