[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Why does this hook not work
From: |
Stephen Leake |
Subject: |
Re: Why does this hook not work |
Date: |
Wed, 24 Oct 2012 06:44:01 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2 (windows-nt) |
Cecil Westerhof <Cecil@decebal.nl> writes:
> I wanted to go a step further. A lot of times I open messages in the
> browser and expire them. For this I defined the following hook:
> (add-hook 'gnus-article-mode-hook
> (lambda ()
> (define-key gnus-browse-mode-map "v"
>
> But this does not work. The v key keeps undefined. What am I doing
> wrong?
I haven't tried this, but it appears you are defining this key in the
wrong map; use gnus-article-mode-map
--
-- Stephe