From Mikio Nakajima <minakaji@osaka.email.ne.jp>:
authormorioka <morioka>
Mon, 26 Oct 1998 14:08:23 +0000 (14:08 +0000)
committermorioka <morioka>
Mon, 26 Oct 1998 14:08:23 +0000 (14:08 +0000)
(add-local-hook): fixed.
(remove-local-hook): fixed.

poe.el

diff --git a/poe.el b/poe.el
index ec25124..efdf34e 100644 (file)
--- a/poe.el
+++ b/poe.el
@@ -199,13 +199,13 @@ The value is actually the element of LIST whose cdr equals KEY."
 
 (defmacro-maybe add-local-hook (hook function &optional append)
   (if (fboundp 'make-local-hook)
-      (list 'add-hook hook function append 'local)
+      (list 'add-hook hook function append t)
     (list 'add-hook hook function append)
     ))
 
 (defmacro remove-local-hook (hook function)
   (if (fboundp 'make-local-hook)
-      (list 'remove-hook hook function 'local)
+      (list 'remove-hook hook function t)
     (list 'remove-hook hook function)
     ))