# HG changeset patch # User Karl Heuer # Date 913259871 0 # Node ID 1f014e9d07686c6d1e3cced1b870a8b94c5f2e81 # Parent 7896e341d77f6f0ee55a70ecaf949028abc12a66 (tex-generate-zap-file-name): Don't start the name with #. diff -r 7896e341d77f -r 1f014e9d0768 lisp/textmodes/tex-mode.el --- 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))))