Prevent warnings when toggles are turned on

The edited sexp should not be quoted, it should be evaluated.
Removing the quoting allows it to work as intended.
This commit is contained in:
Curtis Mackie 2016-05-06 10:35:33 -05:00
parent 78f11f4493
commit c9e866443c
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ used."
(progn ,@off-body
(message ,(format "%s disabled." name)))
,@on-body
(message ,(or on-message `(format "%s enabled." name))))
(message ,(or on-message (format "%s enabled." name))))
(message "This toggle is not supported.")))
;; Only define on- or off-functions when status is available
,@(when status