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:
parent
78f11f4493
commit
c9e866443c
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue