summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorDani Moncayo <dmoncayo@gmail.com>2012-12-08 11:25:28 +0800
committerChong Yidong <cyd@gnu.org>2012-12-08 11:25:28 +0800
commit6ce49f24590f0dbd9cf127756c6ea57311657cb8 (patch)
treee373c44a91a45babaf2073a82de0eb739a4b7aaf /lisp
parent76b92feef1ce7919484065b0ee66e8bb891aff51 (diff)
downloademacs-6ce49f24590f0dbd9cf127756c6ea57311657cb8.tar.gz
* lisp/simple.el (just-one-space): Doc fix.
* doc/emacs/killing.texi (Deletion): Doc fix. Fixes: debbugs:12748
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/simple.el2
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index ff604d0236b..1efcd623e2a 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2012-12-08 Dani Moncayo <dmoncayo@gmail.com>
+
+ * simple.el (just-one-space): Doc fix.
+
2012-12-07 Eli Zaretskii <eliz@gnu.org>
* textmodes/texinfo.el (texinfo-enable-quote-envs): Add
diff --git a/lisp/simple.el b/lisp/simple.el
index 589f1786fb4..61a5a3ea10b 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -744,7 +744,7 @@ If BACKWARD-ONLY is non-nil, only delete them before point."
(defun just-one-space (&optional n)
"Delete all spaces and tabs around point, leaving one space (or N spaces).
-If N is negative, delete newlines as well."
+If N is negative, delete newlines as well, leaving -N spaces."
(interactive "*p")
(unless n (setq n 1))
(let ((orig-pos (point))