all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: waterloo <waterloo2005@gmail.com>
Cc: 3752@emacsbugs.donarmstrong.com
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	[thread overview]
Message-ID: <77eisu6318.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <907065090907041947k6884775fk55f332c776e6858f@mail.gmail.com> (waterloo's message of "Sun, 5 Jul 2009 10:47:06 +0800")

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	other threads:[~2009-07-06  0:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-04 13:00 bug#3752: 23.0.95; I can not understant a sentence in Intro to Emacs Lisp waterloo
2009-07-04 23:11 ` Glenn Morris
2009-07-05  2:13   ` waterloo
2009-07-05  2:30     ` Glenn Morris
2009-07-05  2:47       ` waterloo
2009-07-06  0:58         ` Glenn Morris [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=77eisu6318.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=3752@emacsbugs.donarmstrong.com \
    --cc=waterloo2005@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.