aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorDani Moncayo2012-12-08 11:25:28 +0800
committerChong Yidong2012-12-08 11:25:28 +0800
commit6ce49f24590f0dbd9cf127756c6ea57311657cb8 (patch)
treee373c44a91a45babaf2073a82de0eb739a4b7aaf /lisp
parent76b92feef1ce7919484065b0ee66e8bb891aff51 (diff)
downloademacs-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/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 @@
12012-12-08 Dani Moncayo <dmoncayo@gmail.com>
2
3 * simple.el (just-one-space): Doc fix.
4
12012-12-07 Eli Zaretskii <eliz@gnu.org> 52012-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).
747If N is negative, delete newlines as well." 747If 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))