Clarified example Postal config.

This commit is contained in:
Peter Taoussanis 2012-07-11 13:28:23 +07:00
parent 7844eea6c9
commit f454ac9afb
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@
:locale nil ; A Locale object, or nil :locale nil ; A Locale object, or nil
;; A Postal message map, or nil. ;; A Postal message map, or nil.
;; ^{:host "mail.isp.net" :user "jsmith" :pass "sekrat!!1"} ;; ^{:host "mail.isp.net" :user "jsmith" :pass "sekrat!!1"}
;; {:from "me@draines.com" :to "foo@example.com"} ;; {:from "Bob's logger <me@draines.com>" :to "foo@example.com"}
:postal nil}})) :postal nil}}))
(defn set-config! [[k & ks] val] (swap! config assoc-in (cons k ks) val)) (defn set-config! [[k & ks] val] (swap! config assoc-in (cons k ks) val))