[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[emacs-wiki-discuss] planner-accomplishments-insinuate
From: |
Christopher San Diego |
Subject: |
[emacs-wiki-discuss] planner-accomplishments-insinuate |
Date: |
Sat, 23 Oct 2004 01:02:22 +0800 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
I'm not really sure why, but planner-mode-hook evaluates to
(#[nil "������$" [add-hook write-file-functions planner-accomplishments-update
nil t] 5] planner-id-setup)
after I run (planner-accomplishments-insinuate).
I tried setting it up manually by putting
(add-hook 'planner-mode-hook
(lambda ()
(add-hook 'write-file-functions
'planner-accomplishments-update
nil
t)))
but the accomplishment section still didn't update as
expected. Finally, I tried
(add-hook 'planner-mode-hook
(lambda ()
(add-hook 'write-file-hooks
'planner-accomplishments-update
nil
t)))
and it worked fine.
I'm using version 3.17. I got it from the Debian unstable package.
- [emacs-wiki-discuss] planner-accomplishments-insinuate,
Christopher San Diego <=