]> git.eshelyaron.com Git - emacs.git/commitdiff
(basic-save-buffer-2): Use a template with `$'
authorGerd Moellmann <gerd@gnu.org>
Mon, 17 Apr 2000 15:24:06 +0000 (15:24 +0000)
committerGerd Moellmann <gerd@gnu.org>
Mon, 17 Apr 2000 15:24:06 +0000 (15:24 +0000)
instead of `#' for VMS.

lisp/files.el

index 61db4b6a608d8e4494e9edcc887249704b457c13..05d71cf851aba5e0dfaf7a48b7e7969089abca8e 100644 (file)
@@ -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)))