emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs/doc/lispref ChangeLog positions.texi


From: Stefan Monnier
Subject: [Emacs-diffs] emacs/doc/lispref ChangeLog positions.texi
Date: Wed, 07 Oct 2009 14:32:09 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Stefan Monnier <monnier>        09/10/07 14:32:09

Modified files:
        doc/lispref    : ChangeLog positions.texi 

Log message:
        (Text Lines): Remove goto-line, since it shouldn't be used from Lisp.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/doc/lispref/ChangeLog?cvsroot=emacs&r1=1.338&r2=1.339
http://cvs.savannah.gnu.org/viewcvs/emacs/doc/lispref/positions.texi?cvsroot=emacs&r1=1.10&r2=1.11

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/emacs/emacs/doc/lispref/ChangeLog,v
retrieving revision 1.338
retrieving revision 1.339
diff -u -b -r1.338 -r1.339
--- ChangeLog   7 Oct 2009 10:20:04 -0000       1.338
+++ ChangeLog   7 Oct 2009 14:32:08 -0000       1.339
@@ -1,7 +1,12 @@
+2009-10-07  Stefan Monnier  <address@hidden>
+
+       * positions.texi (Text Lines): Remove goto-line, since it shouldn't be
+       used from Lisp.
+
 2009-10-07  Eli Zaretskii  <address@hidden>
 
-       * files.texi (Directory Names) <abbreviate-file-name>: Document
-       that root home directories are not replaced with "~".
+       * files.texi (Directory Names) <abbreviate-file-name>:
+       Document that root home directories are not replaced with "~".
 
 2009-10-06  Eli Zaretskii  <address@hidden>
 

Index: positions.texi
===================================================================
RCS file: /sources/emacs/emacs/doc/lispref/positions.texi,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- positions.texi      21 May 2009 15:31:34 -0000      1.10
+++ positions.texi      7 Oct 2009 14:32:08 -0000       1.11
@@ -299,33 +299,6 @@
 of the window, by line continuation in display, or by how tabs and
 control characters are displayed.
 
address@hidden Command goto-line line &optional buffer
-This function moves point to the front of the @var{line}th line,
-counting from line 1 at beginning of the buffer, and leaves mark at the
-previous position.  If @var{line} is less than 1, it moves point to the
-beginning of the buffer.  If @var{line} is greater than the number of
-lines in the buffer, it moves point to the end of the buffer---that is,
-the @emph{end of the last line} of the buffer.
-
-If narrowing is in effect, then @var{line} still counts from the
-beginning of the buffer, but point cannot go outside the accessible
-portion.  So @code{goto-line} moves point to the beginning or end of the
-accessible portion, if the line number specifies an inaccessible
-position.
-
-The return value of @code{goto-line} is the difference between
address@hidden and the line number of the line to which point actually was
-able to move (in the full buffer, before taking account of narrowing).
-Thus, the value is positive if the scan encounters the real end of the
-buffer before finding the specified line.  The value is zero if scan
-encounters the end of the accessible portion, but not the real end of
-the buffer.
-
-If you provide the optional argument @var{buffer}, @code{goto-line} uses
address@hidden instead of the current buffer and displays it in another
-window, if it was not already visible.
address@hidden deffn
-
 @deffn Command beginning-of-line &optional count
 This function moves point to the beginning of the current line.  With an
 argument @var{count} not @code{nil} or 1, it moves forward




reply via email to

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