[OS X Emacs] command-click

David Reitter david.reitter at gmail.com
Wed Feb 11 19:01:25 EST 2009

On 10 Feb 2009, at 10:08, Jan Rosinski wrote:

> I am aware that this is a trivial question but I did not have any luck
> looking at the manual.
> In latex mode I would like to disable 'command-click' for pasting.
> How to do it? Thanks.

(global-set-key [(mouse-2)] 'ignore)

This should do it everywhere.  To just change it in latex-mode, simply  
use the `define-key' command on `latex-mode-map' in a similar fashion.

Hope that helps
- David

http://aquamacs.org -- Aquamacs: Emacs on Mac OS X
http://aquamacs.org/donate -- Could we help you? Return the favor and  
support the Aquamacs Project!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2193 bytes
Desc: not available
URL: <http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20090211/ff5dd1d8/attachment.p7s>

More information about the MacOSX-Emacs mailing list