Function: article-unsplit-urls

article-unsplit-urls is an interactive and byte-compiled function defined in gnus-art.el.gz.

Signature

(article-unsplit-urls)

Documentation

Remove the newlines that some other mailers insert into URLs.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/gnus-art.el.gz
(defun article-unsplit-urls ()
  "Remove the newlines that some other mailers insert into URLs."
  (interactive nil gnus-article-mode)
  (save-excursion
    (let ((inhibit-read-only t))
      (goto-char (point-min))
      (while (re-search-forward
	      "\\(\\(https?\\|ftp\\)://\\S-+\\) *\n\\(\\S-+\\)" nil t)
	(replace-match "\\1\\3" t)))
    (when (called-interactively-p 'any)
      (gnus-treat-article nil))))