help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: How to bind mouse-1 to find-file in dired?


From: Johan Bockgård
Subject: Re: How to bind mouse-1 to find-file in dired?
Date: Wed, 20 Feb 2008 16:55:18 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux)

Arne Schmitz <address@hidden> writes:

> I want to get rid of dired-find-file-other-window. I tried the following in
> my .emacs:
>
> (eval-after-load "dired" '(progn (define-key dired-mode-map
> (kbd "<mouse-1>") 'dired-find-file)))
>
> But this does not seem to work. What should I do?

Use "<mouse-2>".

-- 
Johan Bockgård


reply via email to

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