summaryrefslogtreecommitdiff
path: root/lisp/info.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2000-11-03 22:22:24 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2000-11-03 22:22:24 +0000
commitb7aeabeb896cf3221f4f35f12b36504ce6433e89 (patch)
tree28421dfac6f33a45c797a11a6c225a02c541a6d1 /lisp/info.el
parent7d52567be7cf5e585dffc0c5280ede6176b76e4f (diff)
downloademacs-b7aeabeb896cf3221f4f35f12b36504ce6433e89.tar.gz
(Info-mode): Don't both with make-local-hook.
Diffstat (limited to 'lisp/info.el')
-rw-r--r--lisp/info.el3
1 files changed, 1 insertions, 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))