# HG changeset patch # User Stefan Monnier # Date 973290144 0 # Node ID 069c840c65d87cc2c154b4761492fa0299c53795 # Parent 387b12461c12ec4eec243746b28a7431f81cec5e (Info-mode): Don't both with make-local-hook. diff -r 387b12461c12 -r 069c840c65d8 lisp/info.el --- a/lisp/info.el Fri Nov 03 22:17:58 2000 +0000 +++ b/lisp/info.el Fri Nov 03 22:22:24 2000 +0000 @@ -2157,7 +2157,6 @@ (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 @@ ;; 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))