Re: ESS: miscompiled macro
Brian Palmer <[email protected]> Sat, 14 Aug 2004 16:35:07 -0700
| Newsgroups | gmane.emacs.xemacs.design |
|---|---|
| Message-ID | <0whllghthsk.fsf@rescomp.Stanford.EDU.i-did-not-set--mail-host-address--so-tickle-me> |
Adrian Aichner <[email protected]> writes: > (require 'speedbar) will throw an error if it cannot be required. I just want to note that gnu emacs has an optional noerror argument to require which handles the case that the feature could not be found. (*But*, notably, and as I understand it, it does not trap errors that are thrown from the code once it's being loaded, which is the problem with this workaround: > (eval-when-compile > (condition-case nil > (progn > (require 'speedbar) > (when (featurep 'speedbar) > (message "enabling speedbar support") > (ess-S-initialize-speedbar))) > (error nil))) -- I'm awfully glad I'm a Beta, because I don't work so hard.