From e1603a09df3e184ec7511f6d3b66dc844c7ddc34 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Mon, 17 Apr 2000 15:24:06 +0000 Subject: [PATCH] (basic-save-buffer-2): Use a template with `$' instead of `#' for VMS. --- lisp/files.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/files.el b/lisp/files.el index 61db4b6a608..05d71cf851a 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -2588,7 +2588,9 @@ After saving the buffer, this function runs `after-save-hook'." (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))) -- 2.39.5