From 45a870d9f056b36f4e3492864a660ba889170c29 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Sun, 7 Jul 1996 17:30:04 +0000 Subject: [PATCH] (ps-article-subject): Don't die if no subject header. --- lisp/ps-print.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ps-print.el b/lisp/ps-print.el index cc5066bcf6f..60bc9aca6b1 100644 --- a/lisp/ps-print.el +++ b/lisp/ps-print.el @@ -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 ???"))) -- 2.39.2