summaryrefslogtreecommitdiff
path: root/lisp/dos-fns.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2002-03-06 18:23:37 +0000
committerEli Zaretskii <eliz@gnu.org>2002-03-06 18:23:37 +0000
commita730e8506bc3c0e670f197da28c8ba63827c25c3 (patch)
treea9d7559585e90899f554d40a6c75de349b911866 /lisp/dos-fns.el
parent1e57a69675b0597c3ad381dc19d514d3b54e28c5 (diff)
downloademacs-a730e8506bc3c0e670f197da28c8ba63827c25c3.tar.gz
(make-auto-save-file-name): Remove replacement function.
Diffstat (limited to 'lisp/dos-fns.el')
-rw-r--r--lisp/dos-fns.el19
1 files changed, 0 insertions, 19 deletions
diff --git a/lisp/dos-fns.el b/lisp/dos-fns.el
index 4b91cdf7a1b..1a979a80d73 100644
--- a/lisp/dos-fns.el
+++ b/lisp/dos-fns.el
@@ -180,25 +180,6 @@ with a definition that really does change some file names."
(dos-8+3-filename dir))
string))))))
-;; Make sure auto-save file names don't contain characters invalid for
-;; the underlying filesystem. This is particularly annoying with
-;; `compose-mail's *mail* buffers: `*' is not allowed in file names on
-;; DOS/Windows, so Emacs bitches on you each time it tries to autosave
-;; the message being composed.
-(fset 'original-make-auto-save-file-name
- (symbol-function 'make-auto-save-file-name))
-
-(defun make-auto-save-file-name ()
- "Return file name to use for auto-saves of current buffer.
-Does not consider `auto-save-visited-file-name' as that variable is checked
-before calling this function. You can redefine this for customization.
-See also `auto-save-file-name-p'."
- (let ((filename (original-make-auto-save-file-name)))
- ;; Don't modify remote (ange-ftp) filenames
- (if (string-match "^/\\w+@[-A-Za-z0-9._]+:" filename)
- filename
- (convert-standard-filename filename))))
-
;; See dos-vars.el for defcustom.
(defvar msdos-shells)