summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--snakemake-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/snakemake-mode.el b/snakemake-mode.el
index a8d0539..df4f607 100644
--- a/snakemake-mode.el
+++ b/snakemake-mode.el
@@ -418,7 +418,7 @@ embedded R, you need to set mmm-global-mode to a non-nil value such as 'maybe.")
(set (make-local-variable 'end-of-defun-function)
#'snakemake-end-of-defun)
(set (make-local-variable 'add-log-current-defun-function)
- #'python-info-current-defun)
+ #'snakemake-block-or-defun-name)
(set (make-local-variable 'font-lock-defaults)
`(,(append snakemake-font-lock-keywords python-font-lock-keywords))))