]> code.delx.au - gnu-emacs-elpa/blobdiff - diff-hl-dired.el
Autoload diff-hl-dired-mode-unless-remote
[gnu-emacs-elpa] / diff-hl-dired.el
index efb4b83c02711a9b14775e10589a27f48e7b32e7..663d2938fdb1642178b8bd84b029a7a13c079172 100644 (file)
@@ -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)))