]> git.eshelyaron.com Git - emacs.git/commit
image-dired: Revamp slideshow functionality
authorStefan Kangas <stefan@marxist.se>
Fri, 12 Nov 2021 03:10:40 +0000 (04:10 +0100)
committerStefan Kangas <stefan@marxist.se>
Fri, 12 Nov 2021 03:27:35 +0000 (04:27 +0100)
commit1d95cef0feeb8276abda379d978aa4d40c4cddde
tree9a131da15b8dc7c6867fe1aa69e93428aa128d93
parent9ea7e7c4d4867422e4d4f94c764d529b96140f5d
image-dired: Revamp slideshow functionality

* lisp/image-dired.el
(image-dired-slideshow-delay): New defcustom.
(image-dired--slideshow-initial): New defvar.
(image-dired-slideshow-start): Don't show any prompts when starting a
slideshow, unless user gave a negative prefix argument.  Use the value
of the above new defcustom as the default delay.
(image-dired-slideshow-stop): Don't count number of images.  Instead,
continue the slideshow until the next command.
(image-dired-slideshow-step): Use the correct buffer.
(image-dired-slideshow-count, image-dired-slideshow-times): Make
obsolete.
(image-dired--slideshow-timer): Rename from
'image-dired-slideshow-timer'.  Make the old name into an obsolete
variable alias.
(image-dired-display-image-mode-map)
(image-dired-thumbnail-mode-map): Bind 'image-dired-slideshow-start'
to "S".
(image-dired-thumbnail-mode-menu): Add 'image-dired-slideshow-start'.
etc/NEWS
lisp/image-dired.el