aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/textmodes/reftex-index.el
diff options
context:
space:
mode:
authorCarsten Dominik <[email protected]>2002-07-25 07:03:41 +0000
committerCarsten Dominik <[email protected]>2002-07-25 07:03:41 +0000
commit7ac7387b8e5672d84f700e26c8a0ca432da058d1 (patch)
treeacec2cf9fde6431687da056ad25503220095798c /lisp/textmodes/reftex-index.el
parent51922c041c2a91cec1764e07c1513efb4baf4610 (diff)
Updated to RefTeX 4.18
Diffstat (limited to 'lisp/textmodes/reftex-index.el')
-rw-r--r--lisp/textmodes/reftex-index.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/textmodes/reftex-index.el b/lisp/textmodes/reftex-index.el
index 5db364c371..8990c15dc7 100644
--- a/lisp/textmodes/reftex-index.el
+++ b/lisp/textmodes/reftex-index.el
@@ -2,7 +2,7 @@
;; Copyright (c) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
;; Author: Carsten Dominik <[email protected]>
-;; Version: 4.17
+;; Version: 4.18
;; This file is part of GNU Emacs.
@@ -299,6 +299,10 @@ Here are all local bindings.
" R<" 'reftex-index-restriction-indicator ">"
" -%-"))
(setq truncate-lines t)
+ (when (featurep 'xemacs)
+ ;; XEmacs needs the call to make-local-hook
+ (make-local-hook 'post-command-hook)
+ (make-local-hook 'pre-command-hook))
(make-local-variable 'reftex-last-follow-point)
(easy-menu-add reftex-index-menu reftex-index-map)
(add-hook 'post-command-hook 'reftex-index-post-command-hook nil t)