emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/dos-fns.el


From: Eli Zaretskii
Subject: [Emacs-diffs] Changes to emacs/lisp/dos-fns.el
Date: Wed, 06 Mar 2002 13:20:43 -0500

Index: emacs/lisp/dos-fns.el
diff -c emacs/lisp/dos-fns.el:1.37 emacs/lisp/dos-fns.el:1.38
*** emacs/lisp/dos-fns.el:1.37  Sun Sep 16 13:58:09 2001
--- emacs/lisp/dos-fns.el       Wed Mar  6 13:20:43 2002
***************
*** 180,204 ****
                    (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 "^/address@hidden:" filename)
-       filename
-       (convert-standard-filename filename))))
- 
  ;; See dos-vars.el for defcustom.
  (defvar msdos-shells)
  
--- 180,185 ----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]