diff options
| author | Francesco Potortì | 1995-07-10 14:46:00 +0000 |
|---|---|---|
| committer | Francesco Potortì | 1995-07-10 14:46:00 +0000 |
| commit | d9817d8cd78d8fcc82bc6576cc42978d07bd35df (patch) | |
| tree | 8c6d8625a9ef779296b0fd600bbbbee2d65ef81d | |
| parent | 370d8fcccf430fe509d3aa67fdb008d69fa77eef (diff) | |
| download | emacs-d9817d8cd78d8fcc82bc6576cc42978d07bd35df.tar.gz emacs-d9817d8cd78d8fcc82bc6576cc42978d07bd35df.zip | |
* mailalias.el (build-mail-aliases): Fixed the regexp for "^group".
| -rw-r--r-- | lisp/mail/mailalias.el | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lisp/mail/mailalias.el b/lisp/mail/mailalias.el index c7ce5e51541..77630023099 100644 --- a/lisp/mail/mailalias.el +++ b/lisp/mail/mailalias.el | |||
| @@ -146,10 +146,9 @@ By default, this is the file specified by `mail-personal-alias-file'." | |||
| 146 | (beginning-of-line)) | 146 | (beginning-of-line)) |
| 147 | (t (setq file nil)))) | 147 | (t (setq file nil)))) |
| 148 | (goto-char (point-min)) | 148 | (goto-char (point-min)) |
| 149 | (while (or (re-search-forward "^a\\(lias\\|\\)[ \t]+" nil t) | 149 | (while (re-search-forward |
| 150 | (re-search-forward "^g\\(roup\\|\\)[ \t]+" nil t)) | 150 | "^\\(a\\|alias\\|g\\|group\\)[ \t]+\\([^ \t]+\\)" nil t) |
| 151 | (re-search-forward "[^ \t]+") | 151 | (let* ((name (match-string 2)) |
| 152 | (let* ((name (buffer-substring (match-beginning 0) (match-end 0))) | ||
| 153 | (start (progn (skip-chars-forward " \t") (point)))) | 152 | (start (progn (skip-chars-forward " \t") (point)))) |
| 154 | (end-of-line) | 153 | (end-of-line) |
| 155 | (define-mail-alias | 154 | (define-mail-alias |