From: morioka Date: Mon, 26 Oct 1998 14:08:57 +0000 (+0000) Subject: (remove-local-hook): Use `defmacro-maybe'. X-Git-Tag: apel-9_7~11 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d4e4a59406435edc4e7c0a39e805f77bef5f32f2;p=elisp%2Fapel.git (remove-local-hook): Use `defmacro-maybe'. --- diff --git a/poe.el b/poe.el index efdf34e..1f19956 100644 --- 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)