instead of `mapcar'. Don't use `function' for lambda.
(wl-read-search-condition-internal): Don't use `function' for
lambda.
+ (wl-kill-buffers): Change from macro to function.
+ (wl-count-lines): Change from macro to inline-function.
* wl-draft.el (wl-draft-reply): Use `elmo-parse' instead of `wl-parse'.
wl-summary-buffer-display-mime-mode
nil nil))))))
-(defmacro wl-kill-buffers (regexp)
- `(mapc
- (lambda (x)
- (if (and (buffer-name x)
- (string-match ,regexp (buffer-name x)))
- (and (get-buffer x)
- (kill-buffer x))))
- (buffer-list)))
+(defun wl-kill-buffers (regexp)
+ (mapc
+ (lambda (x)
+ (if (and (buffer-name x)
+ (string-match regexp (buffer-name x)))
+ (and (get-buffer x)
+ (kill-buffer x))))
+ (buffer-list)))
(defun wl-collect-summary ()
(let (result)
;;;
-(defmacro wl-count-lines ()
- '(save-excursion
- (beginning-of-line)
- (count-lines 1 (point))))
+(defsubst wl-count-lines ()
+ (save-excursion
+ (beginning-of-line)
+ (count-lines 1 (point))))
(defun wl-horizontal-recenter ()
"Recenter the current buffer horizontally."