]> git.eshelyaron.com Git - emacs.git/commitdiff
image-dired: Delete commented out code
authorStefan Kangas <stefan@marxist.se>
Fri, 5 Nov 2021 00:06:38 +0000 (01:06 +0100)
committerStefan Kangas <stefan@marxist.se>
Fri, 5 Nov 2021 00:10:11 +0000 (01:10 +0100)
* lisp/image-dired.el: Delete broken and commented out speedbar code;
it is not clear what, if anything, it is supposed to do.  If anyone
wants to work on this, they are better off starting from scratch.

lisp/image-dired.el

index 5c17b3c6818eea53c961f2c4c1c7d709061c141e..ebedaee0102eaff2ffee4373f56d653101407997 100644 (file)
@@ -2980,23 +2980,6 @@ Dired."
 ;;       (setq dirsize (- dirsize (car (cdar files))))
 ;;       (setq files (cdr files)))))
 
-;;;;;;;;;;;;;;;;;;;;;;,
-
-;; (defun dired-speedbar-buttons (dired-buffer)
-;;   (when (and (boundp 'image-dired-use-speedbar)
-;;          image-dired-use-speedbar)
-;;     (let ((filename (with-current-buffer dired-buffer
-;;                   (dired-get-filename))))
-;;       (when (and (not (string-equal filename (buffer-string)))
-;;              (string-match (image-file-name-regexp) filename))
-;;     (erase-buffer)
-;;     (insert (propertize
-;;              filename
-;;              'display
-;;              (image-dired-get-thumbnail-image filename)))))))
-
-;; (setq image-dired-use-speedbar t)
-
 (provide 'image-dired)
 
 ;;; image-dired.el ends here