emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/trunk r105194: * editfns.c (Fdelete_region)


From: Lars Magne Ingebrigtsen
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r105194: * editfns.c (Fdelete_region): Clarify the use of the named parameters.
Date: Thu, 14 Jul 2011 15:37:20 +0200
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 105194
fixes bug(s): http://debbugs.gnu.org/6788
committer: Lars Magne Ingebrigtsen <address@hidden>
branch nick: trunk
timestamp: Thu 2011-07-14 15:37:20 +0200
message:
  * editfns.c (Fdelete_region): Clarify the use of the named parameters.
modified:
  src/ChangeLog
  src/editfns.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2011-07-14 08:30:34 +0000
+++ b/src/ChangeLog     2011-07-14 13:37:20 +0000
@@ -1,3 +1,8 @@
+2011-07-14  Lars Magne Ingebrigtsen  <address@hidden>
+
+       * editfns.c (Fdelete_region): Clarify the use of the named
+       parameters (bug#6788).
+
 2011-07-14  Martin Rudalics  <address@hidden>
 
        * indent.c (Fvertical_motion): Set and restore w->pointm when

=== modified file 'src/editfns.c'
--- a/src/editfns.c     2011-07-13 23:48:35 +0000
+++ b/src/editfns.c     2011-07-14 13:37:20 +0000
@@ -3160,10 +3160,8 @@
 }
 
 DEFUN ("delete-region", Fdelete_region, Sdelete_region, 2, 2, "r",
-       doc: /* Delete the text between point and mark.
-
-When called from a program, expects two arguments,
-positions (integers or markers) specifying the stretch to be deleted.  */)
+       doc: /* Delete the text between START and END.
+If called interactively, delete the region between point and mark.  */)
   (Lisp_Object start, Lisp_Object end)
 {
   validate_region (&start, &end);


reply via email to

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