summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2010-08-08 19:14:33 -0400
committerChong Yidong <cyd@stupidchicken.com>2010-08-08 19:14:33 -0400
commitfc5604453eda2964a7e0cce23a133672309febac (patch)
tree9071dd8e377d7f1234b6c90d2bf4fb97ae605de9
parent8d9e03e47f120dff13d2cf93b42fab92e1225f92 (diff)
downloademacs-fc5604453eda2964a7e0cce23a133672309febac.tar.gz
* tutorial.el (tutorial--default-keys): C-d is now bound to delete-forward-char.
(Bug#6826)
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/tutorial.el2
2 files changed, 4 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 5e5f3c1fd84..32e9636fb3b 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
2010-08-08 Chong Yidong <cyd@stupidchicken.com>
+ * tutorial.el (tutorial--default-keys): C-d is now bound to
+ delete-forward-char (Bug#6826).
+
* mouse.el (mouse-drag-track): Remove accidentally-removed check
for `double' value of mouse-1-click-follows-link (Bug#6807).
diff --git a/lisp/tutorial.el b/lisp/tutorial.el
index bab943968f8..15dfe86a8df 100644
--- a/lisp/tutorial.el
+++ b/lisp/tutorial.el
@@ -252,7 +252,7 @@ LEFT and RIGHT are the elements to compare."
;; * INSERTING AND DELETING
;; C-u 8 * to insert ********.
(delete-backward-char "\d")
- (delete-char [?\C-d])
+ (delete-forward-char [?\C-d])
(backward-kill-word [?\M-\d])
(kill-word [?\M-d])
(kill-line [?\C-k])