* doc/lispref/tips.texi: Don't bind a key sequence ending in C-g.
authorChong Yidong <cyd@stupidchicken.com>
Sat, 17 Sep 2011 19:49:57 +0000 (15:49 -0400)
committerChong Yidong <cyd@stupidchicken.com>
Sat, 17 Sep 2011 19:49:57 +0000 (15:49 -0400)
Suggested by Edward O'Connor.

doc/lispref/ChangeLog
doc/lispref/tips.texi

index a5db84e..24108cc 100644 (file)
@@ -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
index be37eb2..fd875b4 100644 (file)
@@ -319,6 +319,10 @@ The reason for this rule is that a non-prefix binding for @key{ESC} in
 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