]> git.eshelyaron.com Git - emacs.git/commitdiff
(ps-article-subject): Don't die if no subject header.
authorKarl Heuer <kwzh@gnu.org>
Sun, 7 Jul 1996 17:30:04 +0000 (17:30 +0000)
committerKarl Heuer <kwzh@gnu.org>
Sun, 7 Jul 1996 17:30:04 +0000 (17:30 +0000)
lisp/ps-print.el

index cc5066bcf6f079197efcfb38c850f8cb1faf6d5b..60bc9aca6b1d5a1e179927442e49504acd526269 100644 (file)
@@ -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 ???")))