emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r102671: Doc fix for just-one-space c


From: Chong Yidong
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r102671: Doc fix for just-one-space change. Document it in NEWS.
Date: Thu, 16 Dec 2010 09:20:46 +0800
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 102671
committer: Chong Yidong <address@hidden>
branch nick: trunk
timestamp: Thu 2010-12-16 09:20:46 +0800
message:
  Doc fix for just-one-space change.  Document it in NEWS.
modified:
  etc/NEWS
  lisp/simple.el
=== modified file 'etc/NEWS'
--- a/etc/NEWS  2010-12-15 02:56:22 +0000
+++ b/etc/NEWS  2010-12-16 01:20:46 +0000
@@ -232,6 +232,9 @@
 
 ** The default value of `backup-by-copying-when-mismatch' is now t.
 
+** The command `just-one-space' (C-SPC), if given a negative argument,
+also deletes newlines around point.
+
 ** Deletion changes
 
 *** New option `delete-active-region'.

=== modified file 'lisp/simple.el'
--- a/lisp/simple.el    2010-12-13 15:27:36 +0000
+++ b/lisp/simple.el    2010-12-16 01:20:46 +0000
@@ -762,7 +762,7 @@
 
 (defun just-one-space (&optional n)
   "Delete all spaces and tabs around point, leaving one space (or N spaces).
-If N is negative, deletes carriage return and linefeed characters as well."
+If N is negative, delete newlines as well."
   (interactive "*p")
   (unless n (setq n 1))
   (let ((orig-pos (point))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]