From: Karl Heuer Date: Thu, 10 Dec 1998 03:17:51 +0000 (+0000) Subject: (tex-generate-zap-file-name): Don't start the name with #. X-Git-Tag: emacs-20.4~1100 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f5cdb8516aad771196a6dda456aac9b70d568634;p=emacs.git (tex-generate-zap-file-name): Don't start the name with #. --- 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))))