* wl-fldmgr.el (wl-fldmgr-folders-header): Add more comment.
(wl-fldmgr-save-folders): Fix comment.
+ (wl-fldmgr-rename): Do nothing on the last line.
+ (wl-fldmgr-add-completion-subr): Rewrite conditional.
* wl-draft.el (wl-draft-send-mail-with-smtp): Catch quitting and
write sendlog.
# Folder definition file
# This file is generated automatically by %s.
#
-#
# If you edit this file by hand, be sure that comment lines
# will be washed out by wl-fldmgr.
#
(condition-case nil
(wl-fldmgr-add-completion-all-completions string)
(error nil))))))))
- (if (null flag)
- (try-completion string table predicate)
- (if (eq flag 'lambda)
- (eq t (try-completion string table predicate))
- (if flag
- (all-completions string table predicate))))))
+ (cond
+ ((null flag)
+ (try-completion string table predicate))
+ ((eq flag 'lambda)
+ (eq t (try-completion string table predicate)))
+ (t
+ (all-completions string table predicate)))))
(defun wl-fldmgr-add (&optional name)
(interactive)
(let* ((tmp (wl-fldmgr-get-path-from-buffer))
(old-folder (nth 4 tmp))
new-folder)
+ (unless old-folder (error "No folder"))
(setq new-folder
(wl-fldmgr-read-string
(wl-summary-read-folder old-folder "to rename" t t old-folder)))