changeset 93612:0cdd5c9c63c2

(tar-mode-map): Obey mouse-1-click-follows-link.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Thu, 03 Apr 2008 20:03:31 +0000
parents 014868cc0301
children 1cee153604e6
files lisp/ChangeLog lisp/tar-mode.el
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Thu Apr 03 20:02:47 2008 +0000
+++ b/lisp/ChangeLog	Thu Apr 03 20:03:31 2008 +0000
@@ -1,3 +1,7 @@
+2008-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+	* tar-mode.el (tar-mode-map): Obey mouse-1-click-follows-link.
+
 2008-04-03  Chong Yidong  <cyd@stupidchicken.com>
 
 	* simple.el (handle-shift-selection): New arg.
--- a/lisp/tar-mode.el	Thu Apr 03 20:02:47 2008 +0000
+++ b/lisp/tar-mode.el	Thu Apr 03 20:03:31 2008 +0000
@@ -498,6 +498,8 @@
     (define-key map "M" 'tar-chmod-entry)
     (define-key map "G" 'tar-chgrp-entry)
     (define-key map "O" 'tar-chown-entry)
+    ;; Let mouse-1 follow the link.
+    (define-key map [follow-link] 'mouse-face)
 
     ;; Make menu bar items.