diff options
-rw-r--r-- | doc/emacs/ChangeLog | 4 | ||||
-rw-r--r-- | doc/emacs/killing.texi | 2 | ||||
-rw-r--r-- | lisp/ChangeLog | 4 | ||||
-rw-r--r-- | lisp/simple.el | 2 |
4 files changed, 10 insertions, 2 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index 7599c1e823e..0825cda9044 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog @@ -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 diff --git a/doc/emacs/killing.texi b/doc/emacs/killing.texi index a8d08bd6602..fcd881a6bdc 100644 --- a/doc/emacs/killing.texi +++ b/doc/emacs/killing.texi @@ -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 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)) |