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

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

Re: Removing a hook


From: Teemu Likonen
Subject: Re: Removing a hook
Date: Wed, 04 Aug 2010 17:13:23 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2.50 (gnu/linux)

* 2010-08-04 16:06 (+0200), Andrea Crotti wrote:

> It should be simple but I'm trying to remove a hook without success
>
> desktop-after-read-hook is a variable defined in `desktop.el'.
> Its value is 
> (dired-git-current dired-git-files)

This is desktop-after-read-hook.

> ELISP> (remove-hook 'desktop-after-save-hook 'dired-git-files)
> nil

And this is desktop-after-save-hook.

Maybe you are mixing things or you didn't tell us everything you should
have or...?



reply via email to

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