X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=calist.el;h=fbef6808a08863ff8d80b690c6e47d9d1592556e;hb=dbd26211b662539d07b22bdf43f3cb33eec010db;hp=36fe8de54a10225ed38f8346bd7f865ff1f94e6a;hpb=27fe5e0627a2824109f4ad675a2a009be8e35674;p=elisp%2Fapel.git diff --git a/calist.el b/calist.el index 36fe8de..fbef680 100644 --- a/calist.el +++ b/calist.el @@ -81,12 +81,14 @@ ((equal (cdr s-field) field-value) calist)))) -(define-calist-field-match-method t #'calist-default-field-match-method) +(define-calist-field-match-method t (function calist-default-field-match-method)) (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) @@ -323,6 +325,7 @@ even if other rules are matched for ALIST." ;;; @ end ;;; -(provide 'calist) +(require 'product) +(product-provide (provide 'calist) (require 'apel-ver)) ;;; calist.el ends here