# HG changeset patch # User Richard M. Stallman # Date 772054937 0 # Node ID d8bede4feaedbe3193f0afaca7249883718981ac # Parent 7f15f77cb644f8de63410d2d61db8d07917498d6 (define-mail-alias): Doc fix. diff -r 7f15f77cb644 -r d8bede4feaed lisp/mail/mailalias.el --- 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)))