mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
* mailalias.el (build-mail-aliases): Fixed the regexp for "^group".
This commit is contained in:
parent
370d8fcccf
commit
d9817d8cd7
1 changed files with 3 additions and 4 deletions
|
|
@ -146,10 +146,9 @@ By default, this is the file specified by `mail-personal-alias-file'."
|
|||
(beginning-of-line))
|
||||
(t (setq file nil))))
|
||||
(goto-char (point-min))
|
||||
(while (or (re-search-forward "^a\\(lias\\|\\)[ \t]+" nil t)
|
||||
(re-search-forward "^g\\(roup\\|\\)[ \t]+" nil t))
|
||||
(re-search-forward "[^ \t]+")
|
||||
(let* ((name (buffer-substring (match-beginning 0) (match-end 0)))
|
||||
(while (re-search-forward
|
||||
"^\\(a\\|alias\\|g\\|group\\)[ \t]+\\([^ \t]+\\)" nil t)
|
||||
(let* ((name (match-string 2))
|
||||
(start (progn (skip-chars-forward " \t") (point))))
|
||||
(end-of-line)
|
||||
(define-mail-alias
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue