Mercurial > emacs
changeset 33189:069c840c65d8
(Info-mode): Don't both with make-local-hook.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Fri, 03 Nov 2000 22:22:24 +0000 |
parents | 387b12461c12 |
children | c33775f5049b |
files | lisp/info.el |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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))