From ea46386cbcee585893ccd214470e187605d16aa0 Mon Sep 17 00:00:00 2001 From: Andrey Kotlarski Date: Wed, 11 Dec 2013 16:15:26 +0200 Subject: [PATCH] Don't apply VLF by default over image and pdf files. --- vlf.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/vlf.el b/vlf.el index ad81879..4542db7 100644 --- a/vlf.el +++ b/vlf.el @@ -160,8 +160,9 @@ You can customize number of bytes displayed by customizing '(define-key dired-mode-map "V" 'dired-vlf)) ;;;###autoload -(defcustom vlf-forbidden-modes-list '(archive-mode tar-mode jka-compr - git-commit-mode) +(defcustom vlf-forbidden-modes-list + '(archive-mode tar-mode jka-compr git-commit-mode image-mode + doc-view-mode doc-view-mode-maybe) "Major modes which VLF will not be automatically applied to." :group 'vlf :type '(list symbol))