Function: image-dired-associated-dired-buffer-window

image-dired-associated-dired-buffer-window is a byte-compiled function defined in image-dired-util.el.gz.

This function is obsolete since 29.1.

Signature

(image-dired-associated-dired-buffer-window)

Documentation

Return window where associated Dired buffer is visible.

Source Code

;; Defined in /usr/src/emacs/lisp/image/image-dired-util.el.gz
(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
          (setq buf (image-dired-associated-dired-buffer))
          (get-window-with-predicate
           (lambda (window)
             (equal (window-buffer window) buf))))
      (error "No thumbnail image at point"))))