(remove-local-hook): Use `defmacro-maybe'.
authormorioka <morioka>
Mon, 26 Oct 1998 14:08:57 +0000 (14:08 +0000)
committermorioka <morioka>
Mon, 26 Oct 1998 14:08:57 +0000 (14:08 +0000)
poe.el

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