Mercurial > emacs
changeset 15620:7844c0f756d0
(ps-article-subject): Don't die if no subject header.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Sun, 07 Jul 1996 17:30:04 +0000 |
parents | f698fc246195 |
children | 6be6d1990543 |
files | lisp/ps-print.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ps-print.el Sun Jul 07 17:26:50 1996 +0000 +++ b/lisp/ps-print.el Sun Jul 07 17:30:04 1996 +0000 @@ -1944,7 +1944,7 @@ (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 ???")))