[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How do you check for a feature during byte compilation?
From: |
Stefan Monnier |
Subject: |
Re: How do you check for a feature during byte compilation? |
Date: |
Tue, 30 Dec 2008 15:20:54 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
> This does not work during byte compilation AFAICS, featurep returns nil:
> (when (featurep 'typesetter)
> (defun typesetter-init-nxhtml-mode ()
> (typesetter-init-html-mode)))
> What do you do instead?
In what way does it fail to work? Give us more info.
Stefan
PS: BTW, your defun could be replaced by a defalias.