diff options
| author | Karl Heuer | 1998-04-12 06:43:56 +0000 |
|---|---|---|
| committer | Karl Heuer | 1998-04-12 06:43:56 +0000 |
| commit | f98b752f204fbcd2a3ae8e57678e026470b34b27 (patch) | |
| tree | 4ad8103e931253272316eafb814bf1e65968acc3 /lisp | |
| parent | 120821e11c6d9f81288ab8b00b779b7370179b94 (diff) | |
| download | emacs-f98b752f204fbcd2a3ae8e57678e026470b34b27.tar.gz emacs-f98b752f204fbcd2a3ae8e57678e026470b34b27.zip | |
(mail-extract-address-components):
Rename local :-pos to colon-pos.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/mail/mail-extr.el | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/mail/mail-extr.el b/lisp/mail/mail-extr.el index c31cc065cfe..ab3545b66df 100644 --- a/lisp/mail/mail-extr.el +++ b/lisp/mail/mail-extr.el | |||
| @@ -786,7 +786,7 @@ ADDRESS may be a string or a buffer. If it is a buffer, the visible | |||
| 786 | (not (eobp)))) | 786 | (not (eobp)))) |
| 787 | (let (char | 787 | (let (char |
| 788 | end-of-address | 788 | end-of-address |
| 789 | <-pos >-pos @-pos :-pos comma-pos !-pos %-pos \;-pos | 789 | <-pos >-pos @-pos colon-pos comma-pos !-pos %-pos \;-pos |
| 790 | group-:-pos group-\;-pos route-addr-:-pos | 790 | group-:-pos group-\;-pos route-addr-:-pos |
| 791 | record-pos-symbol | 791 | record-pos-symbol |
| 792 | first-real-pos last-real-pos | 792 | first-real-pos last-real-pos |
| @@ -881,7 +881,7 @@ ADDRESS may be a string or a buffer. If it is a buffer, the visible | |||
| 881 | ((setq record-pos-symbol | 881 | ((setq record-pos-symbol |
| 882 | (cdr (assq char | 882 | (cdr (assq char |
| 883 | '((?< . <-pos) (?> . >-pos) (?@ . @-pos) | 883 | '((?< . <-pos) (?> . >-pos) (?@ . @-pos) |
| 884 | (?: . :-pos) (?, . comma-pos) (?! . !-pos) | 884 | (?: . colon-pos) (?, . comma-pos) (?! . !-pos) |
| 885 | (?% . %-pos) (?\; . \;-pos))))) | 885 | (?% . %-pos) (?\; . \;-pos))))) |
| 886 | (set record-pos-symbol | 886 | (set record-pos-symbol |
| 887 | (cons (point) (symbol-value record-pos-symbol))) | 887 | (cons (point) (symbol-value record-pos-symbol))) |
| @@ -921,7 +921,7 @@ ADDRESS may be a string or a buffer. If it is a buffer, the visible | |||
| 921 | ;; Example: @foo.bar.dom,@xxx.yyy.zzz:mailbox@aaa.bbb.ccc | 921 | ;; Example: @foo.bar.dom,@xxx.yyy.zzz:mailbox@aaa.bbb.ccc |
| 922 | ;; This commonly happens on the UUCP "From " line. Ugh. | 922 | ;; This commonly happens on the UUCP "From " line. Ugh. |
| 923 | (cond ((and (> (length @-pos) 1) | 923 | (cond ((and (> (length @-pos) 1) |
| 924 | (eq 1 (length :-pos)) ;TODO: check if between last two @s | 924 | (eq 1 (length colon-pos)) ;TODO: check if between last two @s |
| 925 | (not \;-pos) | 925 | (not \;-pos) |
| 926 | (not <-pos)) | 926 | (not <-pos)) |
| 927 | (goto-char (point-min)) | 927 | (goto-char (point-min)) |
| @@ -961,9 +961,9 @@ ADDRESS may be a string or a buffer. If it is a buffer, the visible | |||
| 961 | ;; Check for : that indicates GROUP list and for : part of | 961 | ;; Check for : that indicates GROUP list and for : part of |
| 962 | ;; ROUTE-ADDR spec. | 962 | ;; ROUTE-ADDR spec. |
| 963 | ;; Can't possibly be more than two :. Nuke any extra. | 963 | ;; Can't possibly be more than two :. Nuke any extra. |
| 964 | (while :-pos | 964 | (while colon-pos |
| 965 | (setq temp (car :-pos) | 965 | (setq temp (car colon-pos) |
| 966 | :-pos (cdr :-pos)) | 966 | colon-pos (cdr colon-pos)) |
| 967 | (cond ((and <-pos >-pos | 967 | (cond ((and <-pos >-pos |
| 968 | (> temp <-pos) | 968 | (> temp <-pos) |
| 969 | (< temp >-pos)) | 969 | (< temp >-pos)) |