unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#15085: Doc Fix for the Emacs Lips Intro
@ 2013-08-13 10:40 Dani Moncayo
  2013-08-13 10:53 ` Dani Moncayo
  2013-09-01  1:19 ` Glenn Morris
  0 siblings, 2 replies; 3+ messages in thread
From: Dani Moncayo @ 2013-08-13 10:40 UTC (permalink / raw)
  To: 15085

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





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#15085: Doc Fix for the Emacs Lips Intro
  2013-08-13 10:40 bug#15085: Doc Fix for the Emacs Lips Intro Dani Moncayo
@ 2013-08-13 10:53 ` Dani Moncayo
  2013-09-01  1:19 ` Glenn Morris
  1 sibling, 0 replies; 3+ messages in thread
From: Dani Moncayo @ 2013-08-13 10:53 UTC (permalink / raw)
  To: 15085

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

By the way: I understand that the introduction has not to be based on
the current code.  But in this case, the original code contained a bug
(I think), and therefore I've thought that it would be better to also
remove that bug from the introduction.

-- 
Dani Moncayo





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#15085: Doc Fix for the Emacs Lips Intro
  2013-08-13 10:40 bug#15085: Doc Fix for the Emacs Lips Intro Dani Moncayo
  2013-08-13 10:53 ` Dani Moncayo
@ 2013-09-01  1:19 ` Glenn Morris
  1 sibling, 0 replies; 3+ messages in thread
From: Glenn Morris @ 2013-09-01  1:19 UTC (permalink / raw)
  To: 15085-done

Version: 24.4

Thanks; applied.





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-09-01  1:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-13 10:40 bug#15085: Doc Fix for the Emacs Lips Intro Dani Moncayo
2013-08-13 10:53 ` Dani Moncayo
2013-09-01  1:19 ` Glenn Morris

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).