Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
a97592dd
Commit
a97592dd
authored
Jul 07, 1996
by
Karl Heuer
Browse files
(ps-article-author, ps-info-file, ps-info-node): Don't die if header is missing.
parent
45a870d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
lisp/ps-print.el
lisp/ps-print.el
+3
-3
No files found.
lisp/ps-print.el
View file @
a97592dd
...
...
@@ -1954,7 +1954,7 @@ EndDSCPage\n"))
(
defun
ps-article-author
()
(
save-excursion
(
goto-char
(
point-min
))
(
if
(
re-search-forward
"^From:[ \t]+\\(.*\\)$"
)
(
if
(
re-search-forward
"^From:[ \t]+\\(.*\\)$"
nil
t
)
(
let
((
fromstring
(
buffer-substring
(
match-beginning
1
)
(
match-end
1
))))
(
cond
...
...
@@ -2027,7 +2027,7 @@ EndDSCPage\n"))
(
defun
ps-info-file
()
(
save-excursion
(
goto-char
(
point-min
))
(
if
(
re-search-forward
"File:[ \t]+\\([^, \t\n]*\\)"
)
(
if
(
re-search-forward
"File:[ \t]+\\([^, \t\n]*\\)"
nil
t
)
(
buffer-substring
(
match-beginning
1
)
(
match-end
1
))
"File ???"
)))
...
...
@@ -2036,7 +2036,7 @@ EndDSCPage\n"))
(
defun
ps-info-node
()
(
save-excursion
(
goto-char
(
point-min
))
(
if
(
re-search-forward
"Node:[ \t]+\\([^,\t\n]*\\)"
)
(
if
(
re-search-forward
"Node:[ \t]+\\([^,\t\n]*\\)"
nil
t
)
(
buffer-substring
(
match-beginning
1
)
(
match-end
1
))
"Node ???"
)))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment