]> code.delx.au - gnu-emacs-elpa/blobdiff - diff-hl-amend.el
diff-hl-amend-set{,up}
[gnu-emacs-elpa] / diff-hl-amend.el
index f3a151b3828dacd454ad2fe97386200b34ffc71d..ba93298c106c9097e44a3757eba8e1167250713e 100644 (file)
@@ -33,7 +33,7 @@ Currently only supports Git, Mercurial and Bazaar."
   (if diff-hl-amend-mode
       (progn
         (if vc-mode
-            (diff-hl-amend-set)
+            (diff-hl-amend-setup)
           (add-hook 'find-file-hook 'diff-hl-amend-setup nil t))
         (add-hook 'after-revert-hook 'diff-hl-amend-setup nil t))
     (remove-hook 'find-file-hook 'diff-hl-amend-setup t)
@@ -61,3 +61,7 @@ Currently only supports Git, Mercurial and Bazaar."
 (defun turn-on-diff-hl-amend-mode ()
   "Turn on `diff-hl-amend-mode' in a buffer if appropriate."
   (and buffer-file-name (diff-hl-amend-mode 1)))
+
+(provide 'diff-hl-amend)
+
+;;; diff-hl-amend.el ends here