* wl-address.el (wl-address-delete): Avoid mis-deleting.
authoryoichi <yoichi>
Fri, 2 Jan 2004 15:56:28 +0000 (15:56 +0000)
committeryoichi <yoichi>
Fri, 2 Jan 2004 15:56:28 +0000 (15:56 +0000)
wl/ChangeLog
wl/wl-address.el

index 2859c45..9573ae1 100644 (file)
@@ -1,3 +1,7 @@
+2004-01-03  Yoichi NAKAYAMA  <yoichi@geiin.org>
+
+       * wl-address.el (wl-address-delete): Avoid mis-deleting.
+
 2004-01-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
 
        * wl-demo.el (wl-demo-copyright-notice): Add 2004.
index 16082f9..f204a44 100644 (file)
@@ -647,7 +647,7 @@ Group list contents is not included."
     (with-temp-buffer
       (message "Deleting Address...")
       (insert-file-contents wl-address-file)
-      (delete-matching-lines (concat "^[ \t]*" the-email))
+      (delete-matching-lines (concat "^[ \t]*" the-email "[ \t]+\".*\"[ \t]+\".*\"$"))
       (write-region (point-min) (point-max)
                    wl-address-file nil 'no-msg)
       ;; Delete entries.