From 5744a4153dc52484a0f8943c32e2028025cfb560 Mon Sep 17 00:00:00 2001 From: morioka Date: Fri, 7 May 1999 04:59:54 +0000 Subject: [PATCH] (make-local-hook): Use `defun-maybe' directly. --- poe.el | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) 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.") -- 1.7.10.4