* emacs-lisp-intro.texi (beginning-of-buffer complete): Update function details.
authorDani Moncayo <dmoncayo@gmail.com>
Sun, 1 Sep 2013 01:18:41 +0000 (18:18 -0700)
committerGlenn Morris <rgm@gnu.org>
Sun, 1 Sep 2013 01:18:41 +0000 (18:18 -0700)
Fixes: debbugs:15085

doc/lispintro/ChangeLog
doc/lispintro/emacs-lisp-intro.texi

index a47183f..7c2cf7c 100644 (file)
@@ -1,3 +1,8 @@
+2013-09-01  Dani Moncayo  <dmoncayo@gmail.com>
+
+       * emacs-lisp-intro.texi (beginning-of-buffer complete):
+       Update function details.  (Bug#15085)
+
 2013-08-28  Paul Eggert  <eggert@cs.ucla.edu>
 
        * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
index 18ea8e8..b3087a2 100644 (file)
@@ -6323,7 +6323,7 @@ and avoids clobbering the mark."
                         (/ (+ 10 (* size (prefix-numeric-value arg)))
                            10)))
                  (point-min))))
-  (if arg (forward-line 1)))
+  (if (and arg (not (consp arg))) (forward-line 1)))
 @end group
 @end smallexample
 
@@ -6390,7 +6390,7 @@ to move point to the beginning of the next line if the command is
 invoked with an argument:
 
 @smallexample
-(if arg (forward-line 1)))
+(if (and arg (not (consp arg))) (forward-line 1))
 @end smallexample
 
 @noindent
@@ -6401,13 +6401,6 @@ tenths of the way through the buffer, which is a nicety that is,
 perhaps, not necessary, but which, if it did not occur, would be sure
 to draw complaints.
 
-On the other hand, it also means that if you specify the command with
-a @kbd{C-u}, but without a number, that is to say, if the `raw prefix
-argument' is simply a cons cell, then the command puts you at the
-beginning of the second line @dots{}  I don't know whether this is
-intended or whether no one has dealt with the code to avoid this
-happening.
-
 @node Second Buffer Related Review
 @section Review