From 16a1921bd79363135e1823a6cab4aa1f31d4ac9f Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Thu, 16 Aug 2018 19:41:15 -0400 Subject: Silence byte-compiler --- snakemake-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snakemake-mode.el b/snakemake-mode.el index 9a8a150..4bef4f4 100644 --- a/snakemake-mode.el +++ b/snakemake-mode.el @@ -386,7 +386,7 @@ For automatic highlighting of embedded regions, you need to set (unless (require 'mmm-mode nil t) (user-error "You need to install mmm-mode")) - (when (unless mmm-global-mode) + (when (unless (bound-and-true-p mmm-global-mode)) (display-warning 'snakemake-mode "To get automatic syntax highlighting of embedded R, you need to set mmm-global-mode to a non-nil value such as 'maybe.")) -- cgit v1.2.3