diff options
| author | Dani Moncayo | 2012-12-08 11:25:28 +0800 |
|---|---|---|
| committer | Chong Yidong | 2012-12-08 11:25:28 +0800 |
| commit | 6ce49f24590f0dbd9cf127756c6ea57311657cb8 (patch) | |
| tree | e373c44a91a45babaf2073a82de0eb739a4b7aaf /lisp | |
| parent | 76b92feef1ce7919484065b0ee66e8bb891aff51 (diff) | |
| download | emacs-6ce49f24590f0dbd9cf127756c6ea57311657cb8.tar.gz emacs-6ce49f24590f0dbd9cf127756c6ea57311657cb8.zip | |
* 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/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/simple.el | 2 |
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 @@ | |||
| 1 | 2012-12-08 Dani Moncayo <dmoncayo@gmail.com> | ||
| 2 | |||
| 3 | * simple.el (just-one-space): Doc fix. | ||
| 4 | |||
| 1 | 2012-12-07 Eli Zaretskii <eliz@gnu.org> | 5 | 2012-12-07 Eli Zaretskii <eliz@gnu.org> |
| 2 | 6 | ||
| 3 | * textmodes/texinfo.el (texinfo-enable-quote-envs): Add | 7 | * 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." | |||
| 744 | 744 | ||
| 745 | (defun just-one-space (&optional n) | 745 | (defun just-one-space (&optional n) |
| 746 | "Delete all spaces and tabs around point, leaving one space (or N spaces). | 746 | "Delete all spaces and tabs around point, leaving one space (or N spaces). |
| 747 | If N is negative, delete newlines as well." | 747 | If N is negative, delete newlines as well, leaving -N spaces." |
| 748 | (interactive "*p") | 748 | (interactive "*p") |
| 749 | (unless n (setq n 1)) | 749 | (unless n (setq n 1)) |
| 750 | (let ((orig-pos (point)) | 750 | (let ((orig-pos (point)) |