From 3ae6b52217dbd3371dcd453309a27de0334ecae5 Mon Sep 17 00:00:00 2001 From: Alex Murray Date: Tue, 6 Sep 2022 14:10:01 +0930 Subject: cvelist.el: Only set indent-line-function locally Otherwise the global value is overridden and then affects other buffers which are not in debian-cvelist-mode. Signed-off-by: Alex Murray --- conf/cvelist.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'conf') diff --git a/conf/cvelist.el b/conf/cvelist.el index 9ccb8e4aea..ba79bb6b70 100644 --- a/conf/cvelist.el +++ b/conf/cvelist.el @@ -134,7 +134,7 @@ "A major mode for editing data/CVE/list in the Debian secure-tracker repository." (setq-local font-lock-defaults '(debian-cvelist-font-lock-keywords t)) - (setq indent-line-function 'debian-cvelist-indent-line)) + (setq-local indent-line-function 'debian-cvelist-indent-line)) (provide 'debian-cvelist) ;;; cvelist.el ends here -- cgit v1.2.3