[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[emacs-wiki-discuss] small bug in planner-id.el
From: |
fouvry+emacs-wiki |
Subject: |
[emacs-wiki-discuss] small bug in planner-id.el |
Date: |
Mon, 24 May 2004 23:31:38 +0200 (CEST) |
planner-id.el:
Change:
(add-hook 'planner-mode-hook
(lambda ()
(add-hook 'emacs-wiki-highlight-buffer-hook
'planner-id-markup nil t)
(add-hook
(cond ((boundp 'write-file-functions) 'write-file-functions)
((boundp 'write-file-hooks) 'write-file-hooks)
(t 'local-write-file-hooks))
'planner-id-update-tasks-on-page nil t)))
to
(add-hook 'planner-mode-hook
(function
(lambda ()
(add-hook 'emacs-wiki-highlight-buffer-hook
'planner-id-markup nil t)
(add-hook
(cond ((boundp 'write-file-functions) 'write-file-functions)
((boundp 'write-file-hooks) 'write-file-hooks)
(t 'local-write-file-hooks))
'planner-id-update-tasks-on-page nil t))))
As it is currently, the _result_ of call gets assigned to
planner-mode-hook, which isn't quite what we want, IMO.
Frederik
- [emacs-wiki-discuss] small bug in planner-id.el,
fouvry+emacs-wiki <=