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