[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help with mapping mouse click to macro
From: |
Daniel Jensen |
Subject: |
Re: Help with mapping mouse click to macro |
Date: |
Sat, 25 Aug 2007 16:42:14 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (gnu/linux) |
Jim Crossley <jim@crossleys.org> writes:
> Hi, I'm trying to do something I thought would be simple: click on a
> line in a file to delete it.
Keyboard macros save the mouse position for mouse events. Try this
command instead:
(defun kill-line-at-click (event)
(interactive "e")
(mouse-set-point event)
(kill-whole-line 1))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Help with mapping mouse click to macro,
Daniel Jensen <=