-;;; vlf-integrate.el --- VLF integration with other packages -*- lexical-binding: t -*-
+;;; vlf-setup.el --- VLF integration with other packages -*- lexical-binding: t -*-
-;; Copyright (C) 2014 Free Software Foundation, Inc.
+;; Copyright (C) 2014-2015 Free Software Foundation, Inc.
;; Keywords: large files, integration
;; Author: Andrey Kotlarski <m00naticus@gmail.com>
"Major modes which VLF will not be automatically applied to."
:group 'vlf :type '(list symbol))
+(defvar dired-mode-map)
+(declare-function dired-get-file-for-visit "dired")
+
(unless (fboundp 'file-size-human-readable)
(defun file-size-human-readable (file-size)
"Print FILE-SIZE in MB."
(eval-after-load "dired"
'(define-key dired-mode-map "V" 'dired-vlf))
-(provide 'vlf-integrate)
+(provide 'vlf-setup)
-;;; vlf-integrate.el ends here
+;;; vlf-setup.el ends here