From: morioka Date: Tue, 20 Jul 1999 04:53:42 +0000 (+0000) Subject: (mu-cite-get-field-value): Use `if' instead of `when'. X-Git-Url: http://git.chise.org/gitweb/?p=elisp%2Fmu-cite.git;a=commitdiff_plain;h=cf5856573819cfd572755102323a7cfcd80ad778 (mu-cite-get-field-value): Use `if' instead of `when'. --- diff --git a/mu-cite.el b/mu-cite.el index 7c95678..a60c8de 100644 --- a/mu-cite.el +++ b/mu-cite.el @@ -228,8 +228,8 @@ If the field is not found in the header, a method function which is registered in variable `mu-cite-get-field-value-method-alist' is called." (or (std11-field-body name) (let ((method (assq major-mode mu-cite-get-field-value-method-alist))) - (when method - (funcall (cdr method) name))))) + (if method + (funcall (cdr method) name))))) ;;; @ item methods