Commit c6624d14 authored by Alex Kost's avatar Alex Kost

git-commit-setup: Call 'normal-mode' with argument

This fixes a regression introduced by commit

According to the docstring (and the code) of 'normal-mode', when it is
called without argument, 'enable-local-variables' is ignored, so if
there are unsafe local variables, a user will be prompted about them
every time.
parent 891f82df
......@@ -407,7 +407,7 @@ already using it, then you probably shouldn't start doing so."
(regexp-quote buffer-file-name)
(normal-mode t)))
(setq with-editor-show-usage nil)
(with-editor-mode 1)
(add-hook 'with-editor-finish-query-functions
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment