HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0859c9
)
(todo-mode): Use kill-all-local-variables and run-mode-hooks.
author
Lute Kamstra
<lute@gnu.org>
Thu, 26 May 2005 15:11:23 +0000
(15:11 +0000)
committer
Lute Kamstra
<lute@gnu.org>
Thu, 26 May 2005 15:11:23 +0000
(15:11 +0000)
lisp/calendar/todo-mode.el
patch
|
blob
|
blame
|
history
diff --git
a/lisp/calendar/todo-mode.el
b/lisp/calendar/todo-mode.el
index
0caedee
..
132f423
100644
(file)
--- a/
lisp/calendar/todo-mode.el
+++ b/
lisp/calendar/todo-mode.el
@@
-904,11
+904,12
@@
Number of entries for each category is given by `todo-print-priorities'."
\\{todo-mode-map}"
(interactive)
+ (kill-all-local-variables)
(setq major-mode 'todo-mode)
(setq mode-name "TODO")
(use-local-map todo-mode-map)
(easy-menu-add todo-menu)
- (run-hooks 'todo-mode-hook))
+ (run-
mode-
hooks 'todo-mode-hook))
(eval-when-compile
(defvar date)