~protesilaos/dired-preview

9c828b1551e32e1090cb81fb5f424df61c516e49 — Protesilaos Stavrou 7 months ago 99053aa
Update dired-preview--display-buffer doc string; add TODO
1 files changed, 2 insertions(+), 2 deletions(-)

M dired-preview.el
M dired-preview.el => dired-preview.el +2 -2
@@ 321,9 321,9 @@ Always return FILE buffer."
    (remove-hook 'window-state-change-hook #'dired-preview--close-previews-outside-dired)
    (put 'dired-preview-start 'function-executed nil)))

;; TODO 2023-10-05: We may no longer need this function.
(defun dired-preview--display-buffer (buffer)
  "Call `display-buffer' for BUFFER.
Only do it with the current major mode is Dired."
  "Call `display-buffer' for BUFFER."
  (display-buffer buffer))

(defun dired-preview-display-file (file)