emacs-diffs
[Top][All Lists]
Advanced

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

master 1a6fa4c5d5 3/3: Use `C-c C-k' instead of `C-c C-d' to abort in st


From: Lars Ingebrigtsen
Subject: master 1a6fa4c5d5 3/3: Use `C-c C-k' instead of `C-c C-d' to abort in string-edit
Date: Sun, 24 Apr 2022 10:07:23 -0400 (EDT)

branch: master
commit 1a6fa4c5d51e105a90ab4c5f5f26a0e01f25500b
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Use `C-c C-k' instead of `C-c C-d' to abort in string-edit
    
    * lisp/textmodes/string-edit.el (string-edit-mode-map): Use `C-c
    C-k' to abort.
---
 lisp/textmodes/string-edit.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lisp/textmodes/string-edit.el b/lisp/textmodes/string-edit.el
index 9f28fe773f..2a4c9abfad 100644
--- a/lisp/textmodes/string-edit.el
+++ b/lisp/textmodes/string-edit.el
@@ -40,7 +40,7 @@
 When the user finishes editing (with `C-c C-c'), SUCCESS-CALLBACK
 is called with the resulting string.
 
-If the user aborts (with `C-c C-d'), ABORT-CALLBACK (if any) is
+If the user aborts (with `C-c C-k'), ABORT-CALLBACK (if any) is
 called with no parameters.
 
 If present, HELP-TEXT will be inserted at the start of the
@@ -71,7 +71,7 @@ buffer, but won't be included in the resulting string."
 
 (defun read-string-from-buffer (string &optional help-text)
   "Switch to a new buffer to edit STRING in a recursive edit.
-The user finishes editing with `C-c C-c', or aborts with `C-c C-d').
+The user finishes editing with `C-c C-c', or aborts with `C-c C-k').
 
 If present, HELP-TEXT will be inserted at the start of the
 buffer, but won't be included in the resulting string."
@@ -89,7 +89,7 @@ buffer, but won't be included in the resulting string."
 
 (defvar-keymap string-edit-mode-map
   "C-c C-c" #'string-edit-done
-  "C-c C-d" #'string-edit-abort)
+  "C-c C-k" #'string-edit-abort)
 
 (define-derived-mode string-edit-mode text-mode "String"
   "Mode for editing strings."



reply via email to

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