[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
eval-buffer with debug-on-error t
From: |
Lennart Borgman |
Subject: |
eval-buffer with debug-on-error t |
Date: |
Thu, 07 Jul 2005 15:42:38 +0200 |
User-agent: |
Mozilla Thunderbird 1.0.2 (Windows/20050317) |
I have debug-on-error set to t. When I do an eval-buffer and there is an
undefined function:
(this-is-no-fun)
I get the error "Wrong type argument: stringp, nul
If I instead let the region be the whole buffer and to eval-region I get
a traceback with "Symbol's function definition is void: this-is-no-fun".
Is not the later much more useful? Can't eval-buffer return something
similar?
When debug-on-error is nil eval-buffer returns the same as eval-region.
- eval-buffer with debug-on-error t,
Lennart Borgman <=