Bladeren bron

Another minor load-config cleanup.

Brit Butler 12 jaren geleden
bovenliggende
commit
19a63f2cdd
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      src/config.lisp

+ 1 - 1
src/config.lisp

48
           ;; Multi-site config: load config section for CONFIG-KEY.
48
           ;; Multi-site config: load config section for CONFIG-KEY.
49
           (let* ((config-key-pathname (cl-fad:pathname-as-directory config-key))
49
           (let* ((config-key-pathname (cl-fad:pathname-as-directory config-key))
50
                  (section (assoc config-key-pathname config-form
50
                  (section (assoc config-key-pathname config-form
51
-                                 :key #'(lambda (str) (cl-fad:pathname-as-directory str))
51
+                                 :key #'cl-fad:pathname-as-directory
52
                                  :test #'equal)))
52
                                  :test #'equal)))
53
             (if section
53
             (if section
54
                 (setf *config* (apply #'make-instance 'blog (cdr section))
54
                 (setf *config* (apply #'make-instance 'blog (cdr section))