branch: externals/dired-preview
commit ecb75b5f71cb1c8849ac7212743a8cd60d58e932
Author: Protesilaos Stavrou <i...@protesilaos.com>
Commit: Protesilaos Stavrou <i...@protesilaos.com>

    Assume text type to be the fallback in dired-preview--infer-type
---
 dired-preview.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dired-preview.el b/dired-preview.el
index 4c0425e6cd..2acc917afd 100644
--- a/dired-preview.el
+++ b/dired-preview.el
@@ -237,7 +237,7 @@ FILE."
       (cons 'image file))
      ((file-directory-p file)
       (cons 'directory file))
-     ((file-writable-p file)
+     (t
       (cons 'text file)))))
 
 (cl-defgeneric dired-preview--get-buffer (file)

Reply via email to