Commit 29565a87 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(mail-extr-nuke-outside-range): Fix error message.

(mail-extract-address-components, what-domain): Fix error messages.
parent 6a994023
......@@ -645,7 +645,7 @@ by translating things like \"foo!bar!baz@host\" into \"baz@bar.UUCP\".")
;; which lie outside of the range, one character at that position is
;; replaced with a SPC.
(or (memq no-replace '(t nil))
(error "no-replace must be t or nil, evaluable at macroexpand-time."))
(error "no-replace must be t or nil, evaluable at macroexpand-time"))
(` (let ((temp (, list-symbol))
ch)
(while temp
......@@ -759,7 +759,7 @@ If ADDRESS contains more than one RFC-822 address, only the first is
((bufferp address)
(insert-buffer-substring address))
(t
(error "Illegal address: %s" address)))
(error "Invalid address: %s" address)))
;; stolen from rfc822.el
;; Unfold multiple lines.
......@@ -1955,7 +1955,7 @@ If ADDRESS contains more than one RFC-822 address, only the first is
mail-extr-all-top-level-domains nil t))))
(or (setq domain (intern-soft (downcase domain)
mail-extr-all-top-level-domains))
(error "no such domain"))
(error "No such domain"))
(message "%s: %s" (upcase (symbol-name domain)) (get domain 'domain-name)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment