Remove unnecessary make-local-variable

This commit is contained in:
contrapunctus 2022-05-31 12:17:33 +05:30
parent 165d57ce1b
commit 93555e80de
1 changed files with 3 additions and 2 deletions

View File

@ -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")