Function: newsticker-mouse-browse-url
newsticker-mouse-browse-url is an interactive and byte-compiled
function defined in newst-plainview.el.gz.
Signature
(newsticker-mouse-browse-url EVENT)
Documentation
Call browse-url for the link of the item at which the EVENT occurred.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/net/newst-plainview.el.gz
;; ======================================================================
;;; misc
;; ======================================================================
(defun newsticker-mouse-browse-url (event)
"Call `browse-url' for the link of the item at which the EVENT occurred."
(interactive "e")
(save-excursion
(switch-to-buffer (window-buffer (posn-window (event-end event))))
(let ((url (get-text-property (posn-point (event-end event))
'nt-link)))
(when url
(browse-url url)
(save-excursion
(goto-char (posn-point (event-end event)))
(if newsticker-automatically-mark-visited-items-as-old
(newsticker-mark-item-at-point-as-read t)))))))