* (funcall something) and condition-case
@ 2007-06-30 13:48 Lennart Borgman (gmail)
2007-06-30 14:10 ` Lennart Borgman (gmail)
0 siblings, 1 reply; 2+ messages in thread
From: Lennart Borgman (gmail) @ 2007-06-30 13:48 UTC (permalink / raw)
To: Emacs Devel
I expected the following code to catch the error in funcall, but it does
not. Is this a bug, or?
(let ((major 'x))
(condition-case err
(funcall major) ;; <-----------------
(err
(lwarn 'mumamo-set-major :error
"(funcall %s) failed\n%s" major err))))
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: (funcall something) and condition-case
2007-06-30 13:48 (funcall something) and condition-case Lennart Borgman (gmail)
@ 2007-06-30 14:10 ` Lennart Borgman (gmail)
0 siblings, 0 replies; 2+ messages in thread
From: Lennart Borgman (gmail) @ 2007-06-30 14:10 UTC (permalink / raw)
To: Emacs Devel
Eh, just throw this in the garbage can. A typo: (err ... instead of (error
Lennart Borgman (gmail) wrote:
> I expected the following code to catch the error in funcall, but it does
> not. Is this a bug, or?
>
> (let ((major 'x))
> (condition-case err
> (funcall major) ;; <-----------------
> (err
> (lwarn 'mumamo-set-major :error
> "(funcall %s) failed\n%s" major err))))
>
>
> _______________________________________________
> Emacs-devel mailing list
> Emacs-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-devel
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-06-30 14:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-30 13:48 (funcall something) and condition-case Lennart Borgman (gmail)
2007-06-30 14:10 ` Lennart Borgman (gmail)
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.