(interactive)
(setq image-dired-dired-disp-props
(not image-dired-dired-disp-props))
- (message "Dired display properties %s."
+ (message "Dired display properties %s"
(if image-dired-dired-disp-props
"on"
"off")))
`(let ((file-name (image-dired-original-file-name))
(dired-buf (image-dired-associated-dired-buffer)))
(if (not (and dired-buf file-name))
- (message "No image, or image with correct properties, at point.")
+ (message "No image, or image with correct properties, at point")
(with-current-buffer dired-buf
(when (dired-goto-file file-name)
,@body
(image-dired-set-exif-data file "ImageDescription"
(read-string "Value of ImageDescription: "
old-value)))
- (message "Successfully wrote ImageDescription tag.")
+ (message "Successfully wrote ImageDescription tag")
(error "Could not write ImageDescription tag")))))
(defun image-dired-set-exif-data (file tag-name tag-value)
(when (search-forward-regexp (format "\\s %s$" curr-file) nil t)
(setq hits (+ hits 1))
(dired-mark 1))))
- (message "%d files with matching tag marked." hits)))
+ (message "%d files with matching tag marked" hits)))
\f
(lambda (&rest _ignore)
(image-dired-save-information-from-widgets)
(bury-buffer)
- (message "Done."))
+ (message "Done"))
"Save")
(widget-insert " ")
(widget-create 'push-button
:notify
(lambda (&rest _ignore)
(bury-buffer)
- (message "Operation canceled."))
+ (message "Operation canceled"))
"Cancel")
(widget-insert "\n")
(use-local-map widget-keymap)
(let ((file-name (image-dired-original-file-name))
(dired-buf (image-dired-associated-dired-buffer)))
(if (not (and dired-buf file-name))
- (message "No image, or image with correct properties, at point.")
+ (message "No image, or image with correct properties, at point")
(with-current-buffer dired-buf
(message "%s" file-name)
(when (dired-goto-file file-name)