aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2000-11-03 22:22:24 +0000
committerStefan Monnier2000-11-03 22:22:24 +0000
commitb7aeabeb896cf3221f4f35f12b36504ce6433e89 (patch)
tree28421dfac6f33a45c797a11a6c225a02c541a6d1
parent7d52567be7cf5e585dffc0c5280ede6176b76e4f (diff)
downloademacs-b7aeabeb896cf3221f4f35f12b36504ce6433e89.tar.gz
emacs-b7aeabeb896cf3221f4f35f12b36504ce6433e89.zip
(Info-mode): Don't both with make-local-hook.
-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:
2157 (setq mode-name "Info") 2157 (setq mode-name "Info")
2158 (setq tab-width 8) 2158 (setq tab-width 8)
2159 (use-local-map Info-mode-map) 2159 (use-local-map Info-mode-map)
2160 (make-local-hook 'activate-menubar-hook)
2161 (add-hook 'activate-menubar-hook 'Info-menu-update nil t) 2160 (add-hook 'activate-menubar-hook 'Info-menu-update nil t)
2162 (set-syntax-table text-mode-syntax-table) 2161 (set-syntax-table text-mode-syntax-table)
2163 (setq local-abbrev-table text-mode-abbrev-table) 2162 (setq local-abbrev-table text-mode-abbrev-table)
@@ -2176,7 +2175,7 @@ Advanced commands:
2176 ;; This is for the sake of the invisible text we use handling titles. 2175 ;; This is for the sake of the invisible text we use handling titles.
2177 (make-local-variable 'line-move-ignore-invisible) 2176 (make-local-variable 'line-move-ignore-invisible)
2178 (setq line-move-ignore-invisible t) 2177 (setq line-move-ignore-invisible t)
2179 (add-hook (make-local-hook 'clone-buffer-hook) 'Info-clone-buffer-hook nil t) 2178 (add-hook 'clone-buffer-hook 'Info-clone-buffer-hook nil t)
2180 (Info-set-mode-line) 2179 (Info-set-mode-line)
2181 (run-hooks 'Info-mode-hook)) 2180 (run-hooks 'Info-mode-hook))
2182 2181