From: Carsten Dominik Date: Mon, 27 Feb 2006 07:40:59 +0000 (+0000) Subject: (reftex-index-map): Add `follow-mouse' X-Git-Tag: emacs-pretest-22.0.90~3878 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ece1a6d7d891c936de6a072f2255f5a7e65b8f0f;p=emacs.git (reftex-index-map): Add `follow-mouse' binding. --- diff --git a/lisp/textmodes/reftex-index.el b/lisp/textmodes/reftex-index.el index f005e7a3b87..3601e584aad 100644 --- a/lisp/textmodes/reftex-index.el +++ b/lisp/textmodes/reftex-index.el @@ -1034,6 +1034,7 @@ When index is restricted, select the previous section as restriction criterion." ;; Index map (define-key reftex-index-map (if (featurep 'xemacs) [(button2)] [(mouse-2)]) 'reftex-index-mouse-goto-line-and-hide) +(define-key reftex-index-map [follow-mouse] 'mouse-face) (substitute-key-definition 'next-line 'reftex-index-next reftex-index-map global-map)