(wl-folder-set-folder-updated): Initialize the local variable `buf' with `let'
authorokazaki <okazaki>
Tue, 24 Aug 2004 18:24:42 +0000 (18:24 +0000)
committerokazaki <okazaki>
Tue, 24 Aug 2004 18:24:42 +0000 (18:24 +0000)
 instead of `setq'.

wl/wl-folder.el

index 175e972..5cf452f 100644 (file)
@@ -1577,8 +1577,8 @@ Entering Folder mode calls the value of `wl-folder-mode-hook'."
 
 (defun wl-folder-set-folder-updated (name value)
   (save-excursion
-    (let (buf)
-      (if (setq buf (get-buffer wl-folder-buffer-name))
+    (let ((buf (get-buffer wl-folder-buffer-name)))
+      (if buf
          (wl-folder-entity-hashtb-set
           wl-folder-entity-hashtb name value buf))
       (setq wl-folder-info-alist-modified t))))