summaryrefslogtreecommitdiff
path: root/lisp/image/image-dired-util.el
diff options
context:
space:
mode:
authorStefan Kangas <stefankangas@gmail.com>2022-09-22 21:52:15 +0200
committerStefan Kangas <stefankangas@gmail.com>2022-09-23 03:27:34 +0200
commit4de526edb73637c47c62d31c7fa429fa72dce19e (patch)
tree9f8db8402586edf740808d78fc07e9c50133ce3f /lisp/image/image-dired-util.el
parent587b2c8dd1d7126c429aa499fa4b89f39440161e (diff)
downloademacs-4de526edb73637c47c62d31c7fa429fa72dce19e.tar.gz
emacs-4de526edb73637c47c62d31c7fa429fa72dce19e.tar.bz2
emacs-4de526edb73637c47c62d31c7fa429fa72dce19e.zip
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.
Diffstat (limited to 'lisp/image/image-dired-util.el')
-rw-r--r--lisp/image/image-dired-util.el8
1 files changed, 8 insertions, 0 deletions
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