Skip to content

Instantly share code, notes, and snippets.

@sachac
Created January 19, 2015 21:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sachac/2d870bae371e814b9393 to your computer and use it in GitHub Desktop.
Save sachac/2d870bae371e814b9393 to your computer and use it in GitHub Desktop.

(defun sacha/open-urls-in-region (beg end) “Open URLs between BEG and END.” (interactive “r”) (save-excursion (save-restriction (narrow-to-region beg end) (goto-char (point-min)) (while (re-search-forward org-plain-link-re nil t) (org-open-at-point)))))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment