From: morioka Date: Fri, 7 May 1999 04:59:54 +0000 (+0000) Subject: (make-local-hook): Use `defun-maybe' directly. X-Git-Tag: apel-9_17~11 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=5744a4153dc52484a0f8943c32e2028025cfb560;p=elisp%2Fapel.git (make-local-hook): Use `defun-maybe' directly. --- diff --git a/poe.el b/poe.el index 12ec015..b25052f 100644 --- a/poe.el +++ b/poe.el @@ -234,12 +234,6 @@ the hook's buffer-local value rather than its default value (if (equal hook-value function) (setq hook-value nil))) (set hook hook-value)))) - - (defun-maybe make-local-hook (hook) - "Make the hook HOOK local to the current buffer. -This function is only for emulation. -\[Emacs 19.29 emulating function]" - ) ) (wrong-number-of-arguments ;; emulate `local' arg for version 19.28 and earlier. @@ -279,13 +273,13 @@ the hook's buffer-local value rather than its default value \[Emacs 19.29 emulating function]" ;; the third argument LOCAL is simply ignored. (si:remove-hook hook function)))) + )) - (defun-maybe make-local-hook (hook) - "Make the hook HOOK local to the current buffer. +(defun-maybe make-local-hook (hook) + "Make the hook HOOK local to the current buffer. This function is only for emulation. \[Emacs 19.29 emulating function]" - ) - )) + ) (defvar-maybe path-separator ":" "Character used to separate concatenated paths.")