summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2010-07-27 03:37:23 +0200
committerJuanma Barranquero <lekktu@gmail.com>2010-07-27 03:37:23 +0200
commit4ce5a4ccd4cca6dcdc6d8bafa8cfaea1986e7e6e (patch)
tree359928e4c90478e40d4adc8fb306d128f1adfeb7
parentc48763bb7905a61e2fbd55db105b076fd4a06588 (diff)
downloademacs-4ce5a4ccd4cca6dcdc6d8bafa8cfaea1986e7e6e.tar.gz
* modes.texi (Defining Minor Modes): Use C-delete in examples (bug#6334).
-rw-r--r--doc/lispref/ChangeLog5
-rw-r--r--doc/lispref/modes.texi6
2 files changed, 8 insertions, 3 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index eccde9c8395..7acfeccea04 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,8 @@
+2010-07-27 Juanma Barranquero <lekktu@gmail.com>
+
+ * modes.texi (Defining Minor Modes): Use C-delete in examples,
+ instead of "\C-\^?" (bug#6334).
+
2010-07-21 Juanma Barranquero <lekktu@gmail.com>
* text.texi (Special Properties): Fix typo.
diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi
index 858226ecdfc..c095a9e195d 100644
--- a/doc/lispref/modes.texi
+++ b/doc/lispref/modes.texi
@@ -1494,7 +1494,7 @@ See the command \\[hungry-electric-delete]."
;; The indicator for the mode line.
" Hungry"
;; The minor mode bindings.
- '(("\C-\^?" . hungry-electric-delete))
+ '(([C-delete] . hungry-electric-delete))
:group 'hunger)
@end smallexample
@@ -1526,8 +1526,8 @@ See the command \\[hungry-electric-delete]."
:lighter " Hungry"
;; The minor mode bindings.
:keymap
- '(("\C-\^?" . hungry-electric-delete)
- ("\C-\M-\^?"
+ '(([C-delete] . hungry-electric-delete)
+ ([C-M-delete]
. (lambda ()
(interactive)
(hungry-electric-delete t))))