diff options
| author | Robert J. Chassell | 2007-01-30 12:57:11 +0000 |
|---|---|---|
| committer | Robert J. Chassell | 2007-01-30 12:57:11 +0000 |
| commit | 482d6bf5d01867ee7f06295b585bff19828896b0 (patch) | |
| tree | a0def5c98d3ab902a94aa310623be2113edc58fd | |
| parent | 4799aa91aac90c2e61ef141df9243c2f8deb79d3 (diff) | |
| download | emacs-482d6bf5d01867ee7f06295b585bff19828896b0.tar.gz emacs-482d6bf5d01867ee7f06295b585bff19828896b0.zip | |
(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.
| -rw-r--r-- | lispintro/ChangeLog | 7 | ||||
| -rw-r--r-- | lispintro/emacs-lisp-intro.texi | 6 |
2 files changed, 10 insertions, 3 deletions
diff --git a/lispintro/ChangeLog b/lispintro/ChangeLog index 96491b93c08..7d4fae9eba8 100644 --- a/lispintro/ChangeLog +++ b/lispintro/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2007-01-30 Robert J. Chassell <bob@rattlesnake.com> | ||
| 2 | |||
| 3 | * emacs-lisp-intro.texi (else): Rephrase message of first | ||
| 4 | if-then-else example so it is right both in itself and in the | ||
| 5 | "true" case of the expression, which asks whether 4 is greater | ||
| 6 | than 5. | ||
| 7 | |||
| 1 | 2006-11-27 Andreas Schwab <schwab@suse.de> | 8 | 2006-11-27 Andreas Schwab <schwab@suse.de> |
| 2 | 9 | ||
| 3 | * Makefile.in (usermanualdir): Define. | 10 | * Makefile.in (usermanualdir): Define. |
diff --git a/lispintro/emacs-lisp-intro.texi b/lispintro/emacs-lisp-intro.texi index 6e125989446..0318ac5d361 100644 --- a/lispintro/emacs-lisp-intro.texi +++ b/lispintro/emacs-lisp-intro.texi | |||
| @@ -4112,9 +4112,9 @@ is not greater than 5!} when you evaluate it in the usual way: | |||
| 4112 | 4112 | ||
| 4113 | @smallexample | 4113 | @smallexample |
| 4114 | @group | 4114 | @group |
| 4115 | (if (> 4 5) ; @r{if-part} | 4115 | (if (> 4 5) ; @r{if-part} |
| 4116 | (message "5 is greater than 4!") ; @r{then-part} | 4116 | (message "4 falsely greater than 5!") ; @r{then-part} |
| 4117 | (message "4 is not greater than 5!")) ; @r{else-part} | 4117 | (message "4 is not greater than 5!")) ; @r{else-part} |
| 4118 | @end group | 4118 | @end group |
| 4119 | @end smallexample | 4119 | @end smallexample |
| 4120 | 4120 | ||