From 93555e80de203964b164454a1de1a9b4405652e4 Mon Sep 17 00:00:00 2001 From: contrapunctus Date: Tue, 31 May 2022 12:17:33 +0530 Subject: [PATCH] Remove unnecessary make-local-variable --- init.org | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/init.org b/init.org index c98bc4b..46f64c4 100644 --- a/init.org +++ b/init.org @@ -4490,8 +4490,9 @@ preceded by another heading) and after headings." :mode "\\.md\\'" :hook (markdown-mode . (lambda () - (make-local-variable 'before-save-hook) - (add-hook 'before-save-hook 'markdown-cleanup-list-numbers))) + (add-hook 'before-save-hook + 'markdown-cleanup-list-numbers + 0 t))) (markdown-mode . markdown-display-inline-images) :config (setq markdown-command "cmark" markdown-css-paths '("style.css")