aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann2000-04-17 15:24:06 +0000
committerGerd Moellmann2000-04-17 15:24:06 +0000
commite1603a09df3e184ec7511f6d3b66dc844c7ddc34 (patch)
tree178aa50c5a39b4ef93bfea42a22533d2a32d29f6
parentaf9eaa5eb3608a1aed46cfd345434967b0210952 (diff)
downloademacs-e1603a09df3e184ec7511f6d3b66dc844c7ddc34.tar.gz
emacs-e1603a09df3e184ec7511f6d3b66dc844c7ddc34.zip
(basic-save-buffer-2): Use a template with `$'
instead of `#' for VMS.
-rw-r--r--lisp/files.el4
1 files changed, 3 insertions, 1 deletions
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'."
2588 (if (and (eq system-type 'ms-dos) 2588 (if (and (eq system-type 'ms-dos)
2589 (not (msdos-long-file-names))) 2589 (not (msdos-long-file-names)))
2590 "%s#%d.tm#" ; MSDOS limits files to 8+3 2590 "%s#%d.tm#" ; MSDOS limits files to 8+3
2591 "%s#tmp#%d") 2591 (if (memq system-type '(vax-vms axp-vms))
2592 "%s$tmp$%d"
2593 "%s#tmp#%d"))
2592 dir i)) 2594 dir i))
2593 (setq nogood (file-exists-p tempname)) 2595 (setq nogood (file-exists-p tempname))
2594 (setq i (1+ i))) 2596 (setq i (1+ i)))