diff options
author | Karl Heuer <kwzh@gnu.org> | 1996-07-07 17:30:04 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1996-07-07 17:30:04 +0000 |
commit | b98ef4b8169f53c7e774a0533ce928504333cdae (patch) | |
tree | 67028e78ccb7823811002a7a64a4c7e05d769a10 /lisp/ps-print.el | |
parent | a7cecc5aca5a307e59e07c0f0bc215723f67874b (diff) | |
download | emacs-b98ef4b8169f53c7e774a0533ce928504333cdae.tar.gz |
(ps-article-subject): Don't die if no subject header.
Diffstat (limited to 'lisp/ps-print.el')
-rw-r--r-- | lisp/ps-print.el | 2 |
1 files changed, 1 insertions, 1 deletions
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 ???"))) |