+2005-11-04 Edward O'Connor <hober0@gmail.com> (tiny change)
+
+ * net/goto-addr.el (goto-address-url-regexp): Remove `data:' URLs
+ from goto-address-url-regexp.
+
2005-11-04 Carsten Dominik <dominik@science.uva.nl>
* textmodes/org.el: (org-read-date, org-goto-calendar)
"A regular expression probably matching an e-mail address.")
(defvar goto-address-url-regexp
- (concat "\\<\\("
- (mapconcat 'identity
- (delete "mailto:" (copy-sequence thing-at-point-uri-schemes))
- "\\|")
- "\\)"
- thing-at-point-url-path-regexp)
+ (concat
+ "\\<\\("
+ (mapconcat 'identity
+ (delete "mailto:"
+ ;; Remove `data:', as it's not terribly useful to follow
+ ;; those. Leaving them causes `use Data::Dumper;' to be
+ ;; fontified oddly in Perl files.
+ (delete "data:"
+ (copy-sequence thing-at-point-uri-schemes)))
+ "\\|")
+ "\\)"
+ thing-at-point-url-path-regexp)
;; (concat "\\b\\(s?https?\\|ftp\\|file\\|gopher\\|news\\|"
;; "telnet\\|wais\\):\\(//[-a-zA-Z0-9_.]+:"
;; "[0-9]*\\)?[-a-zA-Z0-9_=?#$@~`%&*+|\\/.,]*"