From: Carsten Dominik Date: Mon, 27 Feb 2006 07:41:32 +0000 (+0000) Subject: (reftex-toc-map): Add `follow-mouse' X-Git-Tag: emacs-pretest-22.0.90~3876 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d9628d6ebc52b703f3bd0055933f5375070c269f;p=emacs.git (reftex-toc-map): Add `follow-mouse' binding. --- diff --git a/lisp/textmodes/reftex-toc.el b/lisp/textmodes/reftex-toc.el index 9b710b92a67..50ccdab7632 100644 --- a/lisp/textmodes/reftex-toc.el +++ b/lisp/textmodes/reftex-toc.el @@ -1011,6 +1011,7 @@ always show the current section in connection with the option ;; Table of Contents map (define-key reftex-toc-map (if (featurep 'xemacs) [(button2)] [(mouse-2)]) 'reftex-toc-mouse-goto-line-and-hide) +(define-key reftex-toc-map [follow-mouse] 'mouse-face) (substitute-key-definition 'next-line 'reftex-toc-next reftex-toc-map global-map)