]> code.delx.au - gnu-emacs-elpa/commitdiff
Don't indent smerge-mode
authorArtur Malabarba <bruce.connor.am@gmail.com>
Tue, 18 Nov 2014 09:31:44 +0000 (09:31 +0000)
committerArtur Malabarba <bruce.connor.am@gmail.com>
Tue, 18 Nov 2014 09:34:12 +0000 (09:34 +0000)
Fixes #33

aggressive-indent.el

index 0d1297c67592ba92e76023ec3957dc95505a85d1..b8142e50dfe331f5baec6172b923a4cb8167c871 100644 (file)
@@ -174,6 +174,7 @@ commands will NOT be followed by a re-indent."
     (region-active-p)
     buffer-read-only
     (null (buffer-modified-p))
+    (and (boundp 'smerge-mode) smerge-mode)
     (string-match "\\`[[:blank:]]*\n?\\'" (or (thing-at-point 'line) ""))
     (and (not aggressive-indent-comments-too)
          (aggressive-indent--in-comment-p))