emacs-devel
[Top][All Lists]
Advanced

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

Re: (funcall something) and condition-case


From: Lennart Borgman (gmail)
Subject: Re: (funcall something) and condition-case
Date: Sat, 30 Jun 2007 16:10:26 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4) Gecko/20070604 Thunderbird/2.0.0.4 Mnenhy/0.7.5.666

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
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-devel





reply via email to

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