comparison lisp/textmodes/reftex-index.el @ 41784:725125318c10

(reftex-index-mode): Remove make-local-hook.
author Pavel Janík <Pavel@Janik.cz>
date Sun, 02 Dec 2001 09:31:36 +0000
parents f13ec83c07b9
children 7522419c4db0
comparison
equal deleted inserted replaced
41783:84b7e5da33e2 41784:725125318c10
297 (list "---- " 'mode-line-buffer-identification 297 (list "---- " 'mode-line-buffer-identification
298 " " 'global-mode-string 298 " " 'global-mode-string
299 " R<" 'reftex-index-restriction-indicator ">" 299 " R<" 'reftex-index-restriction-indicator ">"
300 " -%-")) 300 " -%-"))
301 (setq truncate-lines t) 301 (setq truncate-lines t)
302 (make-local-hook 'post-command-hook)
303 (make-local-hook 'pre-command-hook)
304 (make-local-variable 'reftex-last-follow-point) 302 (make-local-variable 'reftex-last-follow-point)
305 (easy-menu-add reftex-index-menu reftex-index-map) 303 (easy-menu-add reftex-index-menu reftex-index-map)
306 (add-hook 'post-command-hook 'reftex-index-post-command-hook nil t) 304 (add-hook 'post-command-hook 'reftex-index-post-command-hook nil t)
307 (add-hook 'pre-command-hook 'reftex-index-pre-command-hook nil t) 305 (add-hook 'pre-command-hook 'reftex-index-pre-command-hook nil t)
308 (run-hooks 'reftex-index-mode-hook)) 306 (run-hooks 'reftex-index-mode-hook))