branch: externals/vlf
commit ea46386cbcee585893ccd214470e187605d16aa0
Author: Andrey Kotlarski <[email protected]>
Commit: Andrey Kotlarski <[email protected]>
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))