emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 4de526edb7 1/2: image-dired: Obsolete two unused functions


From: Stefan Kangas
Subject: master 4de526edb7 1/2: image-dired: Obsolete two unused functions
Date: Thu, 22 Sep 2022 21:28:00 -0400 (EDT)

branch: master
commit 4de526edb73637c47c62d31c7fa429fa72dce19e
Author: Stefan Kangas <stefankangas@gmail.com>
Commit: Stefan Kangas <stefankangas@gmail.com>

    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.
---
 lisp/image/image-dired-util.el | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/lisp/image/image-dired-util.el b/lisp/image/image-dired-util.el
index dcf0b22cfe..8d77a97dc4 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]