From 7bac1d0b60bbc942a65a16635b49bab8ce52ffa9 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Sat, 24 Sep 2022 01:45:54 +0200 Subject: [PATCH] image-dired: Use command substitution for tags bindings * lisp/image/image-dired-tags.el (image-dired-dired-edit-comment-and-tags): Use substitute-command-keys --- lisp/image/image-dired-tags.el | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/lisp/image/image-dired-tags.el b/lisp/image/image-dired-tags.el index 7a837875ce4..dfd64732859 100644 --- a/lisp/image/image-dired-tags.el +++ b/lisp/image/image-dired-tags.el @@ -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 + "\\ +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) -- 2.39.5