emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 7bac1d0b60 2/6: image-dired: Use command substitution for tags bi


From: Stefan Kangas
Subject: master 7bac1d0b60 2/6: image-dired: Use command substitution for tags bindings
Date: Sat, 24 Sep 2022 05:26:25 -0400 (EDT)

branch: master
commit 7bac1d0b60bbc942a65a16635b49bab8ce52ffa9
Author: Stefan Kangas <stefankangas@gmail.com>
Commit: Stefan Kangas <stefankangas@gmail.com>

    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 7a837875ce..dfd6473285 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
+      "\\<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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]