changeset 75542:5325e1fc379d

(else): Rephrase message of first if-then-else example so it is right both in itself and in the "true" case of the expression, which asks whether 4 is greater than 5.
author Robert J. Chassell <bob@rattlesnake.com>
date Tue, 30 Jan 2007 12:56:27 +0000
parents 98a32ea6898a
children 60d7f843a261
files lispintro/emacs-lisp-intro.texi
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lispintro/emacs-lisp-intro.texi	Tue Jan 30 10:09:53 2007 +0000
+++ b/lispintro/emacs-lisp-intro.texi	Tue Jan 30 12:56:27 2007 +0000
@@ -4112,9 +4112,9 @@
 
 @smallexample
 @group
-(if (> 4 5)                             ; @r{if-part}
-    (message "5 is greater than 4!")    ; @r{then-part}
-  (message "4 is not greater than 5!")) ; @r{else-part}
+(if (> 4 5)                               ; @r{if-part}
+    (message "4 falsely greater than 5!") ; @r{then-part}
+  (message "4 is not greater than 5!"))   ; @r{else-part}
 @end group
 @end smallexample