branch: master
commit 4959c6e259ec30cfc8ae536404817390cae70901
Author: Dmitry Gutov <[email protected]>
Commit: Dmitry Gutov <[email protected]>
Autoload diff-hl-dired-mode-unless-remote
---
diff-hl-dired.el | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/diff-hl-dired.el b/diff-hl-dired.el
index efb4b83..663d293 100644
--- a/diff-hl-dired.el
+++ b/diff-hl-dired.el
@@ -1,6 +1,6 @@
;;; diff-hl-dired.el --- Highlight changed files in Dired -*- lexical-binding:
t -*-
-;; Copyright (C) 2012-2014 Free Software Foundation, Inc.
+;; Copyright (C) 2012-2015 Free Software Foundation, Inc.
;; This file is part of GNU Emacs.
@@ -163,6 +163,7 @@ for DIR containing FILES. Call UPDATE-FUNCTION as entries
are added."
(defalias 'diff-hl-dired-clear 'diff-hl-remove-overlays)
+;;;###autoload
(defun diff-hl-dired-mode-unless-remote ()
(unless (file-remote-p default-directory)
(diff-hl-dired-mode)))