aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/erc/ChangeLog6
-rw-r--r--lisp/erc/erc.el2
-rw-r--r--lisp/mail/mail-extr.el6
3 files changed, 10 insertions, 4 deletions
diff --git a/lisp/erc/ChangeLog b/lisp/erc/ChangeLog
index a631a4514a..061bfc5544 100644
--- a/lisp/erc/ChangeLog
+++ b/lisp/erc/ChangeLog
@@ -1,3 +1,9 @@
+2008-02-05 Juanma Barranquero <[email protected]>
+
+ * 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 <[email protected]>
* erc.el (erc-open):
diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el
index 00d61a60ff..649fc4a63d 100644
--- a/lisp/erc/erc.el
+++ b/lisp/erc/erc.el
@@ -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."
diff --git a/lisp/mail/mail-extr.el b/lisp/mail/mail-extr.el
index c43b0d5a2b..dd44507ee5 100644
--- a/lisp/mail/mail-extr.el
+++ b/lisp/mail/mail-extr.el
@@ -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