2 |
;; Copyright (c) 1997, 1998, 1999, 2000 Free Software Foundation, Inc. |
;; Copyright (c) 1997, 1998, 1999, 2000 Free Software Foundation, Inc. |
3 |
|
|
4 |
;; Author: Carsten Dominik <dominik@science.uva.nl> |
;; Author: Carsten Dominik <dominik@science.uva.nl> |
5 |
;; Version: 4.17 |
;; Version: 4.18 |
6 |
|
|
7 |
;; This file is part of GNU Emacs. |
;; This file is part of GNU Emacs. |
8 |
|
|
62 |
" T<" 'reftex-toc-max-level-indicator ">" |
" T<" 'reftex-toc-max-level-indicator ">" |
63 |
" -%-")) |
" -%-")) |
64 |
(setq truncate-lines t) |
(setq truncate-lines t) |
65 |
|
(when (featurep 'xemacs) |
66 |
|
;; XEmacs needs the call to make-local-hook |
67 |
|
(make-local-hook 'post-command-hook) |
68 |
|
(make-local-hook 'pre-command-hook)) |
69 |
(make-local-variable 'reftex-last-follow-point) |
(make-local-variable 'reftex-last-follow-point) |
70 |
(add-hook 'post-command-hook 'reftex-toc-post-command-hook nil t) |
(add-hook 'post-command-hook 'reftex-toc-post-command-hook nil t) |
71 |
(add-hook 'pre-command-hook 'reftex-toc-pre-command-hook nil t) |
(add-hook 'pre-command-hook 'reftex-toc-pre-command-hook nil t) |