[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Simple lisp question
From: |
Benjamin Riefenstahl |
Subject: |
Re: Simple lisp question |
Date: |
11 Apr 2003 18:42:34 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Hi Sebastian,
Sebastian Tennant <seb@albert.vcisp.net> writes:
> What is wrong with this simple code, (taken directly from O'Reilly's
> Learning Gnu Emacs)?
>
> (defun count-words-buffer ()
> [...]
> (count-words-buffer)*
>
> [...]
>
> With point at * (above), C-j to evaluate achieves nothing. Below is
> the backtrace buffer output.
>
> Debugger entered--Lisp error: (void-function
> count-words-buffer)
Well, you have two Lisp expressions here, the defun and the actual
function call. Did you evaluate the defun expression first? C-j only
evaluates one expression, the last one before the point.
so long, benny
- Simple lisp question, Sebastian Tennant, 2003/04/11
- Re: Simple lisp question,
Benjamin Riefenstahl <=