emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/textmodes/reftex-toc.el


From: Carsten Dominik
Subject: [Emacs-diffs] Changes to emacs/lisp/textmodes/reftex-toc.el
Date: Thu, 25 Jul 2002 03:03:42 -0400

Index: emacs/lisp/textmodes/reftex-toc.el
diff -c emacs/lisp/textmodes/reftex-toc.el:1.13 
emacs/lisp/textmodes/reftex-toc.el:1.14
*** emacs/lisp/textmodes/reftex-toc.el:1.13     Mon Jul 22 06:36:26 2002
--- emacs/lisp/textmodes/reftex-toc.el  Thu Jul 25 03:03:41 2002
***************
*** 2,8 ****
  ;; Copyright (c) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
  
  ;; Author: Carsten Dominik <address@hidden>
! ;; Version: 4.17
  
  ;; This file is part of GNU Emacs.
  
--- 2,8 ----
  ;; Copyright (c) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
  
  ;; Author: Carsten Dominik <address@hidden>
! ;; Version: 4.18
  
  ;; This file is part of GNU Emacs.
  
***************
*** 62,67 ****
--- 62,71 ----
              "  T<" 'reftex-toc-max-level-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)
    (add-hook 'post-command-hook 'reftex-toc-post-command-hook nil t)
    (add-hook 'pre-command-hook  'reftex-toc-pre-command-hook nil t)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]