unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* eval-buffer with debug-on-error t
@ 2005-07-07 13:42 Lennart Borgman
  2005-07-09  4:21 ` Richard M. Stallman
  0 siblings, 1 reply; 5+ messages in thread
From: Lennart Borgman @ 2005-07-07 13:42 UTC (permalink / raw)


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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-07-10  5:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-07 13:42 eval-buffer with debug-on-error t Lennart Borgman
2005-07-09  4:21 ` Richard M. Stallman
2005-07-09 10:23   ` Johan Bockgård
2005-07-10  5:19     ` Richard M. Stallman
2005-07-09 10:41   ` Lennart Borgman

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).