diff options
-rw-r--r-- | snakemake-mode.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/snakemake-mode.el b/snakemake-mode.el index e0299c2..2c15e9e 100644 --- a/snakemake-mode.el +++ b/snakemake-mode.el @@ -462,7 +462,8 @@ embedded R, you need to set mmm-global-mode to a non-nil value such as 'maybe.") #'snakemake-block-or-defun-name) (set (make-local-variable 'font-lock-defaults) - `(,(append snakemake-font-lock-keywords python-font-lock-keywords)))) + (cons (append snakemake-font-lock-keywords python-font-lock-keywords) + (cdr font-lock-defaults)))) ;;;###autoload (add-to-list 'auto-mode-alist '("Snakefile\\'" . snakemake-mode)) |