unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Dani Moncayo <dmoncayo@gmail.com>
To: 15085@debbugs.gnu.org
Subject: bug#15085: Doc Fix for the Emacs Lips Intro
Date: Tue, 13 Aug 2013 12:40:52 +0200	[thread overview]
Message-ID: <CAH8Pv0hqiuXNMQUtRyXizLay0-hzFZiv8GvC4Gb03R0uRgVqcw@mail.gmail.com> (raw)

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





             reply	other threads:[~2013-08-13 10:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-13 10:40 Dani Moncayo [this message]
2013-08-13 10:53 ` bug#15085: Doc Fix for the Emacs Lips Intro Dani Moncayo
2013-09-01  1:19 ` Glenn Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAH8Pv0hqiuXNMQUtRyXizLay0-hzFZiv8GvC4Gb03R0uRgVqcw@mail.gmail.com \
    --to=dmoncayo@gmail.com \
    --cc=15085@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).