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

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

Re: lisp evaluation command


From: Tassilo Horn
Subject: Re: lisp evaluation command
Date: Wed, 14 Jan 2009 14:04:43 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

moueza <address@hidden> writes:

Hi,

the "lisp evaluation command" which always works is:

,----[ C-h k C-x C-e ]
| C-x C-e runs the command eval-last-sexp, which is an interactive compiled Lisp
| function in `lisp-mode.el'.
| 
| It is bound to C-x C-e.
| 
| (eval-last-sexp eval-last-sexp-arg-internal)
| 
| Evaluate sexp before point; print value in minibuffer.
| Interactively, with prefix argument, print output into current buffer.
| 
| If `eval-expression-debug-on-error' is non-nil, which is the default,
| this command arranges for all errors to enter the debugger.
`----


> C-j unavailable for me, what is the minibuffer equivalent command for
> C-j ?

In lisp modes that's `eval-print-last-sexp'.

Bye,
Tassilo
-- 
Inside every program  Richard Stallman writes there is  a compiler for a
new language he just created.





reply via email to

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