aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2023-12-10 15:08:15 -0500
committerKyle Meyer <kyle@kyleam.com>2023-12-10 15:08:15 -0500
commit34f44b0f81651a5ca4ffcf28c7e6603dcccda2e8 (patch)
tree2fb976264295d355f68c7c7a4be4bee32742bb60
parent0c4c5b6a25735ac025ce124ace9f0259eb5198e9 (diff)
downloadsnakemake-mode-34f44b0f81651a5ca4ffcf28c7e6603dcccda2e8.tar.gz
snakemake-mode-setup-mmm: Fix condition for warning
snakemake-mode-setup-mmm should give this warning when mmm-global-mode is nil, but it does the opposite.
-rw-r--r--snakemake-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/snakemake-mode.el b/snakemake-mode.el
index a826d8c..702e9a4 100644
--- a/snakemake-mode.el
+++ b/snakemake-mode.el
@@ -405,7 +405,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 (bound-and-true-p mmm-global-mode))
+ (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."))