From f5cdb8516aad771196a6dda456aac9b70d568634 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Thu, 10 Dec 1998 03:17:51 +0000 Subject: [PATCH] (tex-generate-zap-file-name): Don't start the name with #. --- lisp/textmodes/tex-mode.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el index 92ddade1985..e4ee3049d83 100644 --- a/lisp/textmodes/tex-mode.el +++ b/lisp/textmodes/tex-mode.el @@ -1318,7 +1318,9 @@ This function is more useful than \\[tex-buffer] when you need the "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)))) -- 2.39.2