|
From: | Giles Chamberlin |
Subject: | Re: Q: Testing forthe existence of a function |
Date: | Tue, 27 Oct 2009 16:32:55 +0000 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
grkuntzmd <grk@usa.net> writes: > I would like to add a statement of the form > (if (defined 'tool-bar-mode) (tool-bar-mode nil)) It's not the function you should be testing for but the feature which implements it: (if (featurep 'tool-bar) ...) -- Giles
[Prev in Thread] | Current Thread | [Next in Thread] |