* lisp/simple.el (just-one-space): Doc fix.

* doc/emacs/killing.texi (Deletion): Doc fix.

Fixes: debbugs:12748
This commit is contained in:
Dani Moncayo 2012-12-08 11:25:28 +08:00 committed by Chong Yidong
parent 76b92feef1
commit 6ce49f2459
4 changed files with 10 additions and 2 deletions

View 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

View 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

View 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

View 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))