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

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

Re: moy-compilation-schedule-execute.el


From: Matthieu Moy
Subject: Re: moy-compilation-schedule-execute.el
Date: Thu, 12 Feb 2004 17:16:18 +0100
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.2 (gnu/linux)

Kai Grossjohann <kai@emptydomain.de> writes:

> Matthieu Moy <MatthieuNOSPAM.Moy@imag.fr.invalid> writes:
>
>> (defun f()
>>   (do something)
>>   (remove-hook 'compilation-end-hook /myself/))
>>
>> But didn't find any way to code /myself/.
>
> 'f
>
> Yes, it depends on the function name.

Yes, I've given the bad example with a named function. I meant

(lambda ()
  (...) 
  (remove-hook ...)) 

But Stefan's solution is nice. 

-- 
Matthieu


reply via email to

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