]> git.eshelyaron.com Git - emacs.git/commitdiff
(tex-generate-zap-file-name): Don't start the name with #.
authorKarl Heuer <kwzh@gnu.org>
Thu, 10 Dec 1998 03:17:51 +0000 (03:17 +0000)
committerKarl Heuer <kwzh@gnu.org>
Thu, 10 Dec 1998 03:17:51 +0000 (03:17 +0000)
lisp/textmodes/tex-mode.el

index 92ddade1985caa87e6f1a9217925b73c384846aa..e4ee3049d830bcd700e212284864a751aab15e13 100644 (file)
@@ -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))))