|
|
> There is a problem when trying to display postscript code
> in a ps-mode buffer if the buffer is not linked to a file.
>
> Starting with emacs -Q,
> - open a new buffer,
> - insert in that buffer the content of a postscript file,
> - start ps-mode.
> Now if we type C-c C-c to view the postscript, we are prompted whether
> we want to save the content of the buffer. If we answer "no", we get the error
>
> Wrong type argument: stringp, nil
>
> Message buffer reports that this was issued by doc-view-mode.
With `debug-on-error' enabled it displays:
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
file-readable-p(nil)
doc-view-mode()
doc-view-toggle-display()
call-interactively(doc-view-toggle-display nil nil)
Tassilo, please tell whether DocView is designed to work in non-file buffers?
--
Juri Linkov
http://www.jurta.org/emacs/
|
|