summaryrefslogtreecommitdiff
path: root/snakemake-mode.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2018-08-16 19:41:15 -0400
committerKyle Meyer <kyle@kyleam.com>2018-08-16 19:41:15 -0400
commit16a1921bd79363135e1823a6cab4aa1f31d4ac9f (patch)
tree7d0f76594924a5bbaef60cf79987af6d2c965ab8 /snakemake-mode.el
parent363759f2d9e79d6aa94d09577ec1d24ac4a9aa04 (diff)
downloadsnakemake-mode-16a1921bd79363135e1823a6cab4aa1f31d4ac9f.tar.gz
Silence byte-compiler
Diffstat (limited to 'snakemake-mode.el')
-rw-r--r--snakemake-mode.el2
1 files changed, 1 insertions, 1 deletions
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."))