changeset 28623:6d94533af241

(basic-save-buffer-2): Use a template with `$' instead of `#' for VMS.
author Gerd Moellmann <gerd@gnu.org>
date Mon, 17 Apr 2000 15:24:06 +0000
parents f861d9d9705d
children aef61acb21de
files lisp/files.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/files.el	Mon Apr 17 15:23:08 2000 +0000
+++ b/lisp/files.el	Mon Apr 17 15:24:06 2000 +0000
@@ -2588,7 +2588,9 @@
 			      (if (and (eq system-type 'ms-dos)
 				       (not (msdos-long-file-names)))
 				  "%s#%d.tm#" ; MSDOS limits files to 8+3
-				"%s#tmp#%d")
+				(if (memq system-type '(vax-vms axp-vms))
+				    "%s$tmp$%d"
+				  "%s#tmp#%d"))
 			      dir i))
 	      (setq nogood (file-exists-p tempname))
 	      (setq i (1+ i)))