summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2010-08-07 13:11:07 +0300
committerEli Zaretskii <eliz@gnu.org>2010-08-07 13:11:07 +0300
commit4c5130d6d1cefd8b4c0614f13d05f4c32005dfdd (patch)
treec4e3d4c9eabeff435a8e46458fd20e6531256838
parent309a663ff76530d2a8d6d181f1d0cd3637a4dc24 (diff)
downloademacs-4c5130d6d1cefd8b4c0614f13d05f4c32005dfdd.tar.gz
emacs-4c5130d6d1cefd8b4c0614f13d05f4c32005dfdd.tar.bz2
emacs-4c5130d6d1cefd8b4c0614f13d05f4c32005dfdd.zip
simple.el (delete-forward-char): Doc fix.
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/simple.el2
2 files changed, 3 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 3dd552bb927..9d0e55f3f65 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,7 @@
2010-08-07 Eli Zaretskii <eliz@gnu.org>
+ * simple.el (delete-forward-char): Doc fix.
+
* tutorial.el (help-with-tutorial): Hack safe file-local variables
after reading the tutorial.
diff --git a/lisp/simple.el b/lisp/simple.el
index 43cb31b226b..c0d981ce180 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -895,7 +895,7 @@ the end of the line."
(t (delete-char (- n) killflag))))
(defun delete-forward-char (n &optional killflag)
- "Delete the previous N characters (following if N is negative).
+ "Delete the following N characters (previous if N is negative).
If Transient Mark mode is enabled, the mark is active, and N is 1,
delete the text in the region and deactivate the mark instead.
To disable this, set `delete-active-region' to nil.