~protesilaos/dired-preview

2855b739a482643afec7261e97d51fb0836c2d2b — Protesilaos Stavrou 8 months ago 0ffc5a7
Move hexl declarations closer to where they are first used
1 files changed, 3 insertions(+), 3 deletions(-)

M dired-preview.el
M dired-preview.el => dired-preview.el +3 -3
@@ 62,9 62,6 @@
(eval-when-compile
  (require 'subr-x))

(declare-function hexl-mode "hexl")
(declare-function hexl-mode-exit "hexl" (&optional arg))

(defgroup dired-preview nil
  "Automatically preview file at point in Dired."
  :group 'dired)


@@ 219,6 216,9 @@ Return the preview buffer."
   (t
    (dired-preview--find-file-no-select file))))

(declare-function hexl-mode "hexl")
(declare-function hexl-mode-exit "hexl" (&optional arg))

(defun dired-preview--find-large-file (file)
  "Read part of FILE with appropriate settings.