From b7aeabeb896cf3221f4f35f12b36504ce6433e89 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Fri, 3 Nov 2000 22:22:24 +0000 Subject: [PATCH] (Info-mode): Don't both with make-local-hook. --- lisp/info.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lisp/info.el b/lisp/info.el index db6b0447464..9676dcf4ff0 100644 --- a/lisp/info.el +++ b/lisp/info.el @@ -2157,7 +2157,6 @@ Advanced commands: (setq mode-name "Info") (setq tab-width 8) (use-local-map Info-mode-map) - (make-local-hook 'activate-menubar-hook) (add-hook 'activate-menubar-hook 'Info-menu-update nil t) (set-syntax-table text-mode-syntax-table) (setq local-abbrev-table text-mode-abbrev-table) @@ -2176,7 +2175,7 @@ Advanced commands: ;; This is for the sake of the invisible text we use handling titles. (make-local-variable 'line-move-ignore-invisible) (setq line-move-ignore-invisible t) - (add-hook (make-local-hook 'clone-buffer-hook) 'Info-clone-buffer-hook nil t) + (add-hook 'clone-buffer-hook 'Info-clone-buffer-hook nil t) (Info-set-mode-line) (run-hooks 'Info-mode-hook)) -- 2.39.5