Subject: Doc Fix for the Emacs Lips Intro

From: Dani Moncayo <[email-masked]>
Date: Tue, 13 Aug 2013 12:40:52 +0200

Hi,

The following patch adapts one example (and its explanation) to the
current code.

--- emacs-lisp-intro.texi 2013-08-13 12:14:44 +0200
+++ emacs-lisp-intro.texi 2013-08-13 12:32:36 +0200
@@ -6323,7 +6323,7 @@
                         (/ (+ 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 @@
 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 @@
 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

-- 
Dani Moncayo