Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (defun open-url-under-point-chromium (&rest junk)
- "If there is a valid URL under point, open that URL in chromium web-browser. Otherwise, open the URL of the current page in chromium web-browser.
- NOTE: This function requires w3m to be running."
- (let ((temp-url (w3m-print-this-url)))
- (if (not (eq temp-url nil))
- (browse-url-chromium temp-url)
- (browse-url-chromium (w3m-print-current-url)))))
Advertisement
Add Comment
Please, Sign In to add comment