Commit 45a870d9 authored by Karl Heuer's avatar Karl Heuer
Browse files

(ps-article-subject): Don't die if no subject header.

parent 906628ef
......@@ -1944,7 +1944,7 @@ EndDSCPage\n"))
(defun ps-article-subject ()
(save-excursion
(goto-char (point-min))
(if (re-search-forward "^Subject:[ \t]+\\(.*\\)$")
(if (re-search-forward "^Subject:[ \t]+\\(.*\\)$" nil t)
(buffer-substring (match-beginning 1) (match-end 1))
"Subject ???")))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment