Mercurial > emacs
diff lisp/textmodes/tex-mode.el @ 23849:1f014e9d0768
(tex-generate-zap-file-name): Don't start the name with #.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Thu, 10 Dec 1998 03:17:51 +0000 |
parents | a99c30431979 |
children | e1e1bb544d84 |
line wrap: on
line diff
--- a/lisp/textmodes/tex-mode.el Thu Dec 10 03:15:25 1998 +0000 +++ b/lisp/textmodes/tex-mode.el Thu Dec 10 03:17:51 1998 +0000 @@ -1318,7 +1318,9 @@ "Generate a unique name suitable for use as a file name." ;; Include the shell process number and host name ;; in case there are multiple shells (for same or different user). - (format "#tz%d%s" + ;; Dec 1998: There is a report that some versions of xdvi + ;; don't work with file names that start with #. + (format "-tz#%d%s" (process-id (get-buffer-process "*tex-shell*")) (tex-strip-dots (system-name))))