]> git.eshelyaron.com Git - emacs.git/commit
image-dired: Add new %-format specifiers for header line
authorStefan Kangas <stefankangas@gmail.com>
Sat, 24 Sep 2022 08:45:37 +0000 (10:45 +0200)
committerStefan Kangas <stefankangas@gmail.com>
Sat, 24 Sep 2022 18:18:46 +0000 (20:18 +0200)
commit573f31db966dbed5a209c8adb008702d68632808
treedcf6fd41ec22fdac559a94b194f2140803c34e5c
parent9a5176aec018d6cb6c32614b3b1c8b0dd6d9b71a
image-dired: Add new %-format specifiers for header line

* lisp/image/image-dired.el
(image-dired-format-properties-string): Add new specifiers "%n", "%d",
and "%s".
(image-dired-display-properties-format): Change default format to use
above new specifiers.
(image-dired--number-of-thumbnails): New variable.
(image-dired-insert-thumbnail, image-dired-display-thumbs): Keep
track of file number when appending it into the thumbnail buffer.
(image-dired--update-header-line): Support above new format
specifiers.  Rename from 'image-dired-update-header-line' and
update callers.
* lisp/image/image-dired-dired.el
(image-dired-dired-display-properties): Support above new format
specifiers.
etc/NEWS
lisp/image/image-dired-dired.el
lisp/image/image-dired.el