diff options
author | Alex Murray <alex.murray@canonical.com> | 2022-09-06 14:10:01 +0930 |
---|---|---|
committer | Alex Murray <alex.murray@canonical.com> | 2022-09-06 14:23:30 +0930 |
commit | 3ae6b52217dbd3371dcd453309a27de0334ecae5 (patch) | |
tree | 5f14aabeb70fa59ff03d76e018b14ea1665329bd /conf | |
parent | d0a466ec8fadbc7aeb3212e0e625daa0e65994a0 (diff) |
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 <alex.murray@canonical.com>
Diffstat (limited to 'conf')
-rw-r--r-- | conf/cvelist.el | 2 |
1 files changed, 1 insertions, 1 deletions
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 |