[vcs] Inhibit auto-indentation after reverting hunks

Fixes #11523, makes it easier to revert changes to non-standard indentation when
aggressive-indent mode is enabled.
This commit is contained in:
yuhan0 2018-11-29 21:09:09 +08:00 committed by smile13241324
parent 7dcfa742bb
commit 4696c5306a
1 changed files with 2 additions and 1 deletions

View File

@ -33,7 +33,8 @@
(defun spacemacs/vcs-revert-hunk ()
(interactive)
(let ((current-prefix-arg t))
(let ((current-prefix-arg t)
(inhibit-modification-hooks t))
(call-interactively
(cl-case version-control-diff-tool
(diff-hl 'diff-hl-revert-hunk)