]> git.eshelyaron.com Git - emacs.git/commitdiff
(erc-valid-nick-regexp): Replace `legal' with `valid'.
authorJuanma Barranquero <lekktu@gmail.com>
Tue, 5 Feb 2008 13:00:43 +0000 (13:00 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Tue, 5 Feb 2008 13:00:43 +0000 (13:00 +0000)
lisp/erc/ChangeLog
lisp/erc/erc.el
lisp/mail/mail-extr.el

index a631a4514a4fb4f4aaf4ca963ddd4956fd03bddb..061bfc55444a7f26dcd1a60b1f31e9aaa798cd42 100644 (file)
@@ -1,3 +1,9 @@
+2008-02-05  Juanma Barranquero  <lekktu@gmail.com>
+
+       * erc.el (erc-valid-nick-regexp):
+       * erc-button.el (erc-button-syntax-table):
+       * erc-match.el (erc-match-syntax-table): Replace `legal' with `valid'.
+
 2007-11-15  Juanma Barranquero  <lekktu@gmail.com>
 
        * erc.el (erc-open):
index 00d61a60ffd571760b6c04b7367e227fcde92f39..649fc4a63df4ea270c8b11b190356d0ce9383e86 100644 (file)
@@ -2342,7 +2342,7 @@ If STRING is nil, the function does nothing."
        (setq list (cdr list))))))
 
 (defvar erc-valid-nick-regexp "[]a-zA-Z^[;\\`_{}|][]^[;\\`_{}|a-zA-Z0-9-]*"
-  "Regexp which matches all legal characters in a IRC nickname.")
+  "Regexp which matches all valid characters in a IRC nickname.")
 
 (defun erc-is-valid-nick-p (nick)
   "Check if NICK is a valid IRC nickname."
index c43b0d5a2b03ea6c4d03f5d058034068baa31bc5..dd44507ee57f224c95bb040c9dccc7d3f93d0895 100644 (file)
@@ -850,7 +850,7 @@ consing a string.)"
              (setq char ?\() ; HAVE I NO SHAME??
              )
             ;; record the position of various interesting chars, determine
-            ;; legality later.
+            ;; validity later.
             ((setq record-pos-symbol
                    (cdr (assq char
                               '((?< . <-pos) (?> . >-pos) (?@ . @-pos)
@@ -862,9 +862,9 @@ consing a string.)"
             ((eq char ?.)
              (forward-char 1))
             ((memq char '(
-                          ;; comment terminator illegal
+                          ;; comment terminator invalid
                           ?\)
-                          ;; domain literal terminator illegal
+                          ;; domain literal terminator invalid
                           ?\]
                           ;; \ allowed only within quoted strings,
                           ;; domain literals, and comments