help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: How to avoid loading file when just testing if function is bound?


From: Peter Münster
Subject: Re: How to avoid loading file when just testing if function is bound?
Date: Mon, 02 Apr 2012 15:38:15 +0200
User-agent: Gnus/5.130004 (Ma Gnus v0.4) Emacs/24.0.94 (gnu/linux)

On Mon, Apr 02 2012, Sebastien Vauban wrote:

> Adjusted code block:
>
>   (if (and (featurep 'org-clock)
>            (org-clocking-p)
>          (y-or-n-p "You are currently clocking time, clock out? "))
>       (org-clock-out)
>     t))
>
> When reading your proposition, I thought it should be it... but no. It still
> loads Org whenever quitting Emacs (before doing anything).
>
> Any other idea?

On my system, (featurep 'org-clock) does not load anything. So I think,
the problem must be somewhere else. Did you try with edebug?

-- 
           Peter




reply via email to

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