(calist-field-match-method): Fix problem when `field-type' is a
authormorioka <morioka>
Mon, 31 May 1999 10:32:53 +0000 (10:32 +0000)
committermorioka <morioka>
Mon, 31 May 1999 10:32:53 +0000 (10:32 +0000)
string.

calist.el

index 36fe8de..634ae97 100644 (file)
--- a/calist.el
+++ b/calist.el
 
 (defsubst calist-field-match-method (field-type)
   (symbol-function
-   (or (intern-soft
-       (symbol-name field-type) calist-field-match-method-obarray)
+   (or (intern-soft (if (symbolp field-type)
+                       (symbol-name field-type)
+                     field-type)
+                   calist-field-match-method-obarray)
        (intern-soft "t" calist-field-match-method-obarray))))
 
 (defsubst calist-field-match (calist field-type field-value)