Function: image-dired--add-to-file-comment-list
image-dired--add-to-file-comment-list is a byte-compiled function
defined in image-dired.el.gz.
This function is obsolete since 29.1.
Signature
(image-dired--add-to-file-comment-list FILE COMMENT)
Documentation
Helper function used from image-dired--create-gallery-lists.
For FILE, add COMMENT to list.
Lisp structure looks like the following:
image-dired-file-comment-list:
(("filename1" . "comment1")
("filename2" . "comment2")
...)
Aliases
image-dired-add-to-file-comment-list (obsolete since 29.1)
Source Code
;; Defined in /usr/src/emacs/lisp/image/image-dired.el.gz
(defun image-dired--add-to-file-comment-list (file comment)
"Helper function used from `image-dired--create-gallery-lists'.
For FILE, add COMMENT to list.
Lisp structure looks like the following:
image-dired-file-comment-list:
((\"filename1\" . \"comment1\")
(\"filename2\" . \"comment2\")
...)"
(declare (obsolete nil "29.1"))
(if image-dired-file-comment-list
(if (not (assoc file image-dired-file-comment-list))
(setcdr image-dired-file-comment-list
(cons (cons file comment)
(cdr image-dired-file-comment-list))))
(setq image-dired-file-comment-list (list (cons file comment)))))