]> git.eshelyaron.com Git - emacs.git/commitdiff
(mail-extr-voodoo): Comment out &-substitution.
authorKarl Heuer <kwzh@gnu.org>
Tue, 11 Nov 1997 02:51:06 +0000 (02:51 +0000)
committerKarl Heuer <kwzh@gnu.org>
Tue, 11 Nov 1997 02:51:06 +0000 (02:51 +0000)
lisp/mail/mail-extr.el

index b7975928253965916a9223254ac5473627479a0e..6989e8aefa323dcc5acd468522e2f56fc51fc63e 100644 (file)
@@ -1615,18 +1615,21 @@ If ADDRESS contains more than one RFC-822 address, only the first is
                (insert initial ". ")))))
         
         ;; Handle & substitution
-        ((and (or (bobp)
-                  (eq ?\  (preceding-char)))
-              (looking-at "&\\( \\|\\'\\)"))
-         (mail-extr-delete-char 1)
-         (capitalize-region
-          (point)
-          (progn
-            (insert-buffer-substring canonicalization-buffer
-                                     mbox-beg mbox-end)
-            (point)))
-         (setq disable-initial-guessing-flag t)
-         (setq word-found-flag t))
+        ;; This is turned off because an & from the passwd file
+        ;; should not really get into a mail address without
+        ;; being substituted, and people use it for other things.
+;;;     ((and (or (bobp)
+;;;               (eq ?\  (preceding-char)))
+;;;           (looking-at "&\\( \\|\\'\\)"))
+;;;      (mail-extr-delete-char 1)
+;;;      (capitalize-region
+;;;       (point)
+;;;       (progn
+;;;         (insert-buffer-substring canonicalization-buffer
+;;;                                  mbox-beg mbox-end)
+;;;         (point)))
+;;;      (setq disable-initial-guessing-flag t)
+;;;      (setq word-found-flag t))
         
         ;; Handle *Stupid* VMS date stamps
         ((looking-at mail-extr-stupid-vms-date-stamp-pattern)