diff options
Diffstat (limited to 'snakemake-mode.el')
-rw-r--r-- | snakemake-mode.el | 2 |
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.")) |