From: Stefan Kangas Date: Thu, 22 Sep 2022 19:52:15 +0000 (+0200) Subject: image-dired: Obsolete two unused functions X-Git-Tag: emacs-29.0.90~1856^2~309 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4de526edb73637c47c62d31c7fa429fa72dce19e;p=emacs.git image-dired: Obsolete two unused functions * lisp/image/image-dired-util.el (image-dired-display-window) (image-dired-associated-dired-buffer-window): Make obsolete; they are currently unused. --- diff --git a/lisp/image/image-dired-util.el b/lisp/image/image-dired-util.el index dcf0b22cfe2..8d77a97dc47 100644 --- a/lisp/image/image-dired-util.el +++ b/lisp/image/image-dired-util.el @@ -127,6 +127,10 @@ See also `image-dired-thumbnail-storage'." (defun image-dired-display-window () "Return window where `image-dired-display-image-buffer' is visible." + ;; This is obsolete as it is currently unused. Once the window + ;; handling gets a rethink, there may or may not be a need to + ;; un-obsolete it again. + (declare (obsolete nil "29.1")) (get-window-with-predicate (lambda (window) (equal (buffer-name (window-buffer window)) image-dired-display-image-buffer)) @@ -141,6 +145,10 @@ See also `image-dired-thumbnail-storage'." (defun image-dired-associated-dired-buffer-window () "Return window where associated Dired buffer is visible." + ;; This is obsolete as it is currently unused. Once the window + ;; handling gets a rethink, there may or may not be a need to + ;; un-obsolete it again. + (declare (obsolete nil "29.1")) (let (buf) (if (image-dired-image-at-point-p) (progn