s/and/when

This commit is contained in:
Chris Barrett
2022-09-15 19:45:20 +12:00
parent b7a4d5a75a
commit 93c9514ec3

View File

@@ -365,7 +365,7 @@ and old content."
(content-changed-p (not (equal current-content (content-changed-p (not (equal current-content
updated-content))) updated-content)))
(params (append params (list :new-content (and content-changed-p updated-content))))) (params (append params (list :new-content (when content-changed-p updated-content)))))
;; Only clear the block if the content should change. ;; Only clear the block if the content should change.
(when content-changed-p (when content-changed-p