[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnous-group feature and eval-after-load
From: |
Sebastian Tennant |
Subject: |
gnous-group feature and eval-after-load |
Date: |
Wed, 09 May 2007 10:59:58 +0300 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.95 (gnu/linux) |
Hi Gnus folk,
I have the following in my .gnus:
(eval-after-load 'gnus-group
(progn
(define-key gnus-group-mode-map "q" 'bury-buffer)
(define-key gnus-group-mode-map "Q" 'gnus-group-exit)
...
))
I understand that most of gnus has already been loaded by the time a
.gnus is read, but according to (describe-function 'eval-after-load):
"Arrange that, if FILE is ever loaded, FORM will be run at that time.
If FILE is already loaded, evaluate FORM right now."
However, the above key bindings only come into effect the _second_
time I load gnus in an emacs session...
Any ideas why?
Sebastian
- gnous-group feature and eval-after-load,
Sebastian Tennant <=