2011-05-19 Deniz Dogan <deniz@dogan.se>
* net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
+ (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
2011-05-19 Glenn Morris <rgm@gnu.org>
(rcirc-record-activity (current-buffer) 'nick)))))
(defun rcirc-markup-urls (sender response)
- (while (re-search-forward rcirc-url-regexp nil t)
+ (while (and rcirc-url-regexp ;; nil means disable URL catching
+ (re-search-forward rcirc-url-regexp nil t))
(let ((start (match-beginning 0))
(end (match-end 0)))
(rcirc-add-face start end 'rcirc-url)