(smtp-deduce-address-list): Set `case-fold-search' to `t' in the working
authoryamaoka <yamaoka>
Tue, 9 May 2000 00:26:04 +0000 (00:26 +0000)
committeryamaoka <yamaoka>
Tue, 9 May 2000 00:26:04 +0000 (00:26 +0000)
buffer.

ChangeLog
smtp.el

index 921052f..0e6d111 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-05-09  Katsumi Yamaoka   <yamaoka@jpl.org>
+
+       * smtp.el (smtp-deduce-address-list): Set `case-fold-search' to `t'
+       in the working buffer.
+
 2000-01-10  Keiichi Suzuki  <keiichi@nanap.org>
 
        * mime.el (mime-entity-root): New function.
diff --git a/smtp.el b/smtp.el
index 532bb14..27a0b99 100644 (file)
--- a/smtp.el
+++ b/smtp.el
@@ -348,8 +348,7 @@ don't define this value."
 
 (defun smtp-deduce-address-list (smtp-text-buffer header-start header-end)
   "Get address list suitable for smtp RCPT TO:<address>."
-  (let ((case-fold-search t)
-       (simple-address-list "")
+  (let ((simple-address-list "")
        this-line
        this-line-end
        addr-regexp
@@ -358,6 +357,7 @@ don't define this value."
        (save-excursion
          ;;
          (set-buffer smtp-address-buffer)
+         (setq case-fold-search t)
          (erase-buffer)
          (insert (save-excursion
                    (set-buffer smtp-text-buffer)