Mercurial > emacs
changeset 7970:d8bede4feaed
(define-mail-alias): Doc fix.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 19 Jun 1994 19:42:17 +0000 |
parents | 7f15f77cb644 |
children | e02c5d5d76cd |
files | lisp/mail/mailalias.el |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/mail/mailalias.el Sun Jun 19 19:07:47 1994 +0000 +++ b/lisp/mail/mailalias.el Sun Jun 19 19:42:17 1994 +0000 @@ -162,7 +162,8 @@ (defun define-mail-alias (name definition) "Define NAME as a mail alias that translates to DEFINITION. This means that sending a message to NAME will actually send to DEFINITION. -DEFINITION can be one or more mail addresses separated by commas." +DEFINITION can be one or more mail addresses separated by spaces. +An address can contain spaces if it is quoted with double-quotes." (interactive "sDefine mail alias: \nsDefine %s as mail alias for: ") ;; Read the defaults first, if we have not done so. (if (eq mail-aliases t) @@ -182,7 +183,7 @@ ;; Strip quotation marks. (setq definition (substring definition 1 (1- (length definition)))) ;; ~/.mailrc contains addresses separated by spaces. - ;; mailers should expect addresses separated by commas. + ;; Mailers should expect addresses separated by commas. (while (setq tem (string-match "[^ \t,][ \t,]+" definition tem)) (if (= (match-end 0) (length definition)) (setq definition (substring definition 0 (1+ tem)))