[Top][All Lists]

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

Re: [Emacs-diffs] trunk r113464: * net/shr.el (shr-mouse-browse-url): Ne

From: Stefan Monnier
Subject: Re: [Emacs-diffs] trunk r113464: * net/shr.el (shr-mouse-browse-url): New command and keystroke.
Date: Sat, 20 Jul 2013 04:25:54 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> +(defun shr-mouse-browse-url (ev)
> +  "Browse the URL under the mouse cursor."
> +  (interactive "e")
> +  (mouse-set-point ev)
> +  (shr-browse-url))

You can make that work for RET as well (by using (list
last-nonmenu-event) instead of "e", IIRC), so you don't need a separate
command for mouse events.


reply via email to

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