comparison lisp/textmodes/reftex-toc.el @ 69178:9ba5ad019003

(reftex-toc-map): Add `follow-mouse' binding.
author Carsten Dominik <dominik@science.uva.nl>
date Mon, 27 Feb 2006 07:41:32 +0000
parents bfd5c5e60410
children 6c1428d2666e
comparison
equal deleted inserted replaced
69177:a4c2155cc832 69178:9ba5ad019003
1009 (reftex-toggle-auto-toc-recenter)))) 1009 (reftex-toggle-auto-toc-recenter))))
1010 1010
1011 ;; Table of Contents map 1011 ;; Table of Contents map
1012 (define-key reftex-toc-map (if (featurep 'xemacs) [(button2)] [(mouse-2)]) 1012 (define-key reftex-toc-map (if (featurep 'xemacs) [(button2)] [(mouse-2)])
1013 'reftex-toc-mouse-goto-line-and-hide) 1013 'reftex-toc-mouse-goto-line-and-hide)
1014 (define-key reftex-toc-map [follow-mouse] 'mouse-face)
1014 1015
1015 (substitute-key-definition 1016 (substitute-key-definition
1016 'next-line 'reftex-toc-next reftex-toc-map global-map) 1017 'next-line 'reftex-toc-next reftex-toc-map global-map)
1017 (substitute-key-definition 1018 (substitute-key-definition
1018 'previous-line 'reftex-toc-previous reftex-toc-map global-map) 1019 'previous-line 'reftex-toc-previous reftex-toc-map global-map)