[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:
parent
7dcfa742bb
commit
4696c5306a
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue