diff options
| author | Alex Kost <alezost@gmail.com> | 2017-01-09 23:53:40 +0300 |
|---|---|---|
| committer | Alex Kost <alezost@gmail.com> | 2017-01-09 23:53:40 +0300 |
| commit | c6624d143aa3c3e210a04d15e56f42c156226198 (patch) | |
| tree | b44c656a55e72d71b9f85fc8e143e98648b75a9a /lisp/git-commit.el | |
| parent | 891f82df108a303ffb06038b560abe5fb5073848 (diff) | |
git-commit-setup: Call 'normal-mode' with argument
This fixes a regression introduced by commit
084182e8e7dc82550543a4933c082a2a188d7faf.
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.
Diffstat (limited to 'lisp/git-commit.el')
| -rw-r--r-- | lisp/git-commit.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/git-commit.el b/lisp/git-commit.el index 3e3ec1c..f3fccd9 100644 --- a/lisp/git-commit.el +++ b/lisp/git-commit.el @@ -407,7 +407,7 @@ already using it, then you probably shouldn't start doing so." (regexp-quote buffer-file-name) "\\'") git-commit-major-mode)))) - (normal-mode))) + (normal-mode t))) (setq with-editor-show-usage nil) (with-editor-mode 1) (add-hook 'with-editor-finish-query-functions |
