GNU bug report logs - #3752
23.0.95; I can not understant a sentence in Intro to Emacs Lisp .

Previous Next

Package: emacs;

Reported by: waterloo <waterloo2005 <at> gmail.com>

Date: Sat, 4 Jul 2009 13:05:04 UTC

Severity: normal

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #22 received at 3752 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: waterloo <waterloo2005 <at> gmail.com>
Cc: 3752 <at> debbugs.gnu.org
Subject: Re: 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
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)



This bug report was last modified 16 years and 9 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.