]> git.eshelyaron.com Git - emacs.git/commitdiff
image-dired: Use command substitution for tags bindings
authorStefan Kangas <stefankangas@gmail.com>
Fri, 23 Sep 2022 23:45:54 +0000 (01:45 +0200)
committerStefan Kangas <stefankangas@gmail.com>
Sat, 24 Sep 2022 09:26:06 +0000 (11:26 +0200)
* lisp/image/image-dired-tags.el
(image-dired-dired-edit-comment-and-tags): Use substitute-command-keys

lisp/image/image-dired-tags.el

index 7a837875ce427ffd94d8f010d49e9c7a4ea57b91..dfd647328590d640dc5a245bca8d5895305acf2a 100644 (file)
@@ -293,11 +293,14 @@ easy-to-use form."
     (remove-overlays)
     ;; Some help for the user.
     (widget-insert
-     "\nEdit comments and tags for each image.  Separate multiple tags
-with a comma.  Move forward between fields using TAB or RET.
-Move to the previous field using backtab (S-TAB).  Save by
-activating the Save button at the bottom of the form or cancel
-the operation by activating the Cancel button.\n\n")
+     (substitute-command-keys
+      "\\<widget-field-keymap>
+Edit comments and tags for each image.  Separate multiple tags
+with a comma.  Move forward between fields using \\[widget-forward] \
+or \\[widget-field-activate].
+Move to the previous field using \\[widget-backward].  Save by
+activating the \"Save\" button at the bottom of the form or
+cancel the operation by activating the \"Cancel\" button.\n\n"))
     ;; Here comes all images and a comment and tag field for each
     ;; image.
     (let (thumb-file img comment-widget tag-widget)