* lisp/simple.el (just-one-space): Doc fix.
authorDani Moncayo <dmoncayo@gmail.com>
Sat, 8 Dec 2012 03:25:28 +0000 (11:25 +0800)
committerChong Yidong <cyd@gnu.org>
Sat, 8 Dec 2012 03:25:28 +0000 (11:25 +0800)
* doc/emacs/killing.texi (Deletion): Doc fix.

Fixes: debbugs:12748

doc/emacs/ChangeLog
doc/emacs/killing.texi
lisp/ChangeLog
lisp/simple.el

index 7599c1e..0825cda 100644 (file)
@@ -1,3 +1,7 @@
+2012-12-08  Dani Moncayo  <dmoncayo@gmail.com>
+
+       * killing.texi (Deletion): Doc fix (Bug#12748).
+
 2012-12-03  Juanma Barranquero  <lekktu@gmail.com>
 
        * vc1-xtra.texi (General VC Options): Remove obsolete reference
index a8d08bd..fcd881a 100644 (file)
@@ -123,7 +123,7 @@ point, regardless of the number of spaces that existed previously
 (even if there were none before).  With a numeric argument @var{n}, it
 leaves @var{n} spaces before point if @var{n} is positive; if @var{n}
 is negative, it deletes newlines in addition to spaces and tabs,
-leaving a single space before point.
+leaving @var{-n} spaces before point.
 
   @kbd{C-x C-o} (@code{delete-blank-lines}) deletes all blank lines
 after the current line.  If the current line is blank, it deletes all
index ff604d0..1efcd62 100644 (file)
@@ -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
index 589f178..61a5a3e 100644 (file)
@@ -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))