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

    Update package commentary; mention dired-preview-global-mode
---
 dired-preview.el | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)

diff --git a/dired-preview.el b/dired-preview.el
index ee1810dbd5..a43bbd6d0a 100644
--- a/dired-preview.el
+++ b/dired-preview.el
@@ -31,9 +31,9 @@
 ;; are no longer relevant, while preview buffers are killed if they have
 ;; not been used for other purposes beside previewing.
 ;;
-;; Enable the `dired-preview-mode' in the current Dired buffer and
-;; then perform the regular up/down motions.  Those will trigger the
-;; preview.
+;; Enable the `dired-preview-mode' in the current Dired buffer or
+;; `dired-preview-global-mode' for all Dired buffers and then perform
+;; the regular up/down motions.  Those will trigger the preview.
 ;;
 ;; The previewed file is displayed in a side window if its size is below
 ;; the number specified in the user option `dired-preview-max-size'.
@@ -45,13 +45,7 @@
 ;; PDFs, and EPUBs.
 ;;
 ;; [ In the future, we may find ways to quickly preview any file type
-;;   without affecting the performance of Emacs.  Though `dired-preview'
-;;   is designed to have no external dependencies, so such an ambition
-;;   may not be realisable (e.g. produce a thumbnail out of a video).  ]
-;;
-;; To set up `dired-preview-mode' in every Dired buffer, set it up thus:
-;;
-;;     (add-hook 'dired-mode-hook #'dired-preview-mode)
+;;   without affecting the performance of Emacs.]
 ;;
 ;; I took inspiration for `dired-preview' from the now unmaintained
 ;; `peep-dired' package by Adam Sokolnicki: 
<https://github.com/asok/peep-dired>.

Reply via email to