|
From: | William Xu |
Subject: | Is (provide 'foo) at the start good or bad? |
Date: | Thu, 11 Jun 2009 15:56:01 +0300 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (windows-nt) |
(eval-after-load 'ffap '(progn (setq ffap-c-path (cons "../inc" ffap-c-path))))And when I M-x ffap, it will complain that ffap-c-path is not defined. I figured it out it is due to (provide 'ffap) at the very start of ffap.el. The easist solution is changing it to:
(eval-after-load "ffap"... Then it will depend on loading of the file, not just the feature. But I always like to depend on the feature(at least typing one less char). So what is the benefit of providing it at the very start?
-- William http://xwl.appspot.com
[Prev in Thread] | Current Thread | [Next in Thread] |