[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Very small mistake in emacs-lisp-intro

From: David Heath
Subject: Very small mistake in emacs-lisp-intro
Date: Mon, 29 Jan 2007 15:37:15 +0100
User-agent: KMail/1.9.5


I have been working my way through emacs-lisp-intro and noticed a very very 
tiny mistake which I thought I'd report all the same. Basically, in one of 
the examples of an "if" statement, the message printed in the "true" case is 
wrong, I suppose it might confuse an absolute beginner programmer. See below:

 (if (> 4 5)                             ; @r{if-part}
-    (message "5 is greater than 4!")    ; @r{then-part}
+    (message "4 is greater than 5!")    ; @r{then-part}
   (message "4 is not greater than 5!")) ; @r{else-part}

A proper patch of emacs-lisp-intro.texi is attached.


Attachment: emacs-lisp-intro.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]