summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2011-09-17 15:49:57 -0400
committerChong Yidong <cyd@stupidchicken.com>2011-09-17 15:49:57 -0400
commitb8f0a954b883d4d46983078f70a8b59a61cfa693 (patch)
tree5691a3665bfea91416a746a3cb0a4e9d1869a608 /doc
parent8f1383f7088802a12e4c41f18755b53f8bbebcf3 (diff)
downloademacs-b8f0a954b883d4d46983078f70a8b59a61cfa693.tar.gz
* doc/lispref/tips.texi: Don't bind a key sequence ending in C-g.
Suggested by Edward O'Connor.
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/ChangeLog5
-rw-r--r--doc/lispref/tips.texi4
2 files changed, 9 insertions, 0 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index a5db84e8777..24108cc6a46 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,8 @@
+2011-09-17 Chong Yidong <cyd@stupidchicken.com>
+
+ * tips.texi (Key Binding Conventions): Don't bind a key sequence
+ ending in C-g. Suggested by Edward O'Connor.
+
2011-09-17 Eli Zaretskii <eliz@gnu.org>
* numbers.texi (Integer Basics): Add indexing for
diff --git a/doc/lispref/tips.texi b/doc/lispref/tips.texi
index be37eb2034b..fd875b45be9 100644
--- a/doc/lispref/tips.texi
+++ b/doc/lispref/tips.texi
@@ -320,6 +320,10 @@ any context prevents recognition of escape sequences as function keys in
that context.
@item
+Similarly, don't bind a key sequence ending in @key{C-g}, since that
+is commonly used to cancel a key sequence.
+
+@item
Anything which acts like a temporary mode or state which the user can
enter and leave should define @kbd{@key{ESC} @key{ESC}} or
@kbd{@key{ESC} @key{ESC} @key{ESC}} as a way to escape.