X-Git-Url: https://code.delx.au/gnu-emacs-elpa/blobdiff_plain/84d5110e2a8ded2db6ca487f48abdb57262334de..4959c6e259ec30cfc8ae536404817390cae70901:/diff-hl-dired.el diff --git a/diff-hl-dired.el b/diff-hl-dired.el index efb4b83c0..663d2938f 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)))