From 001fc4ad589893515375f439d56e5a1ee169d527 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Wed, 11 May 2016 21:11:58 -0400 Subject: Fix add-log-current-defun-function assignment --- snakemake-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)))) -- cgit v1.2.3