(defun format-match-p (format-spec format)
- (when (or (eql format-spec (getf format :format))
- (member format-spec (getf format :nicks)))
- t))
+ (let ((key (ensure-keyword format-spec)))
+ (when (or (eql key (getf format :format))
+ (member key (getf format :nicks)))
+ t)))
(defun find-format (format-spec)
(find format-spec +format-db+ :test 'format-match-p))