From c9e866443c48237fc17d47c7e69f960b2d0ebe59 Mon Sep 17 00:00:00 2001 From: Curtis Mackie Date: Fri, 6 May 2016 10:35:33 -0500 Subject: [PATCH] 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. --- core/core-toggle.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core-toggle.el b/core/core-toggle.el index 40ec22146..b13b439b7 100644 --- a/core/core-toggle.el +++ b/core/core-toggle.el @@ -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