GNU bug report logs - #15085
Doc Fix for the Emacs Lips Intro

Previous Next

Package: emacs;

Reported by: Dani Moncayo <dmoncayo <at> gmail.com>

Date: Tue, 13 Aug 2013 10:42:02 UTC

Severity: minor

Tags: patch

Fixed in version 24.4

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Dani Moncayo <dmoncayo <at> gmail.com>
To: 15085 <at> debbugs.gnu.org
Subject: bug#15085: Doc Fix for the Emacs Lips Intro
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




This bug report was last modified 11 years and 323 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.