emacs-devel
[Top][All Lists]
Advanced

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

(funcall something) and condition-case


From: Lennart Borgman (gmail)
Subject: (funcall something) and condition-case
Date: Sat, 30 Jun 2007 15:48:30 +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

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))))




reply via email to

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