From: Karl Heuer Date: Sun, 7 Jul 1996 17:30:04 +0000 (+0000) Subject: (ps-article-subject): Don't die if no subject header. X-Git-Tag: emacs-19.34~242 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=45a870d9f056b36f4e3492864a660ba889170c29;p=emacs.git (ps-article-subject): Don't die if no subject header. --- 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 ???")))