bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#3752: 23.0.95; I can not understant a sentence in Intro to Emacs Li


From: Glenn Morris
Subject: bug#3752: 23.0.95; I can not understant a sentence in Intro to Emacs Lisp .
Date: Sun, 05 Jul 2009 20:58:11 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

waterloo wrote:

> when test of while is nil , it does not run `print' following it.
> who  does print nil ?
>
> or  if all function will print its return value ?

As explained in the earlier section of the manual (on "Evaluation"),
evaluating a function with C-x C-e prints the return value. For example

(+ 2 2)

or

(progn
  (princ "Evaluating with C-x C-e prints the return value.\n")
  42)





reply via email to

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