emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/textmodes/reftex-ref.el


From: Werner LEMBERG
Subject: [Emacs-diffs] Changes to emacs/lisp/textmodes/reftex-ref.el
Date: Fri, 25 Mar 2005 04:03:28 -0500

Index: emacs/lisp/textmodes/reftex-ref.el
diff -c emacs/lisp/textmodes/reftex-ref.el:1.19 
emacs/lisp/textmodes/reftex-ref.el:1.20
*** emacs/lisp/textmodes/reftex-ref.el:1.19     Fri Jan 14 10:12:03 2005
--- emacs/lisp/textmodes/reftex-ref.el  Fri Mar 25 09:03:24 2005
***************
*** 1,5 ****
  ;;; reftex-ref.el --- code to create labels and references with RefTeX
! ;; Copyright (c) 1997, 1998, 1999, 2000, 2003, 2004 Free Software Foundation, 
Inc.
  
  ;; Author: Carsten Dominik <address@hidden>
  ;; Version: 4.26
--- 1,6 ----
  ;;; reftex-ref.el --- code to create labels and references with RefTeX
! ;; Copyright (c) 1997, 1998, 1999, 2000, 2003, 2004, 2005
! ;;  Free Software Foundation, Inc.
  
  ;; Author: Carsten Dominik <address@hidden>
  ;; Version: 4.26
***************
*** 172,178 ****
                         (nth 2 (reftex-label-info " " nil nil t))))
          ;; Catch the cases where the is actually no context available.
          (if (or (string-match "NO MATCH FOR CONTEXT REGEXP" default)
!                 (string-match "ILLEGAL VALUE OF PARSE" default)
                  (string-match "SECTION HEADING NOT FOUND" default)
                  (string-match "HOOK ERROR" default)
                  (string-match "^[ \t]*$" default))
--- 173,179 ----
                         (nth 2 (reftex-label-info " " nil nil t))))
          ;; Catch the cases where the is actually no context available.
          (if (or (string-match "NO MATCH FOR CONTEXT REGEXP" default)
!                 (string-match "INVALID VALUE OF PARSE" default)
                  (string-match "SECTION HEADING NOT FOUND" default)
                  (string-match "HOOK ERROR" default)
                  (string-match "^[ \t]*$" default))
***************
*** 217,223 ****
  
               ;; Test if label contains strange characters
               ((string-match reftex-label-illegal-re label)
!               (message "Label \"%s\" contains illegal characters" label)
                (ding)
                (sit-for 2))
  
--- 218,224 ----
  
               ;; Test if label contains strange characters
               ((string-match reftex-label-illegal-re label)
!               (message "Label \"%s\" contains invalid characters" label)
                (ding)
                (sit-for 2))
  




reply via email to

[Prev in Thread] Current Thread [Next in Thread]