# HG changeset patch # User Richard M. Stallman # Date 1020033354 0 # Node ID e0182b284e4258eb6f66820a4e0916343468397d # Parent 5eca5e9178c80cad76c26313a28b43a552b33595 (mail-recover-1): Decrease non-random-len by 1 for the newly-readded #. diff -r 5eca5e9178c8 -r e0182b284e42 lisp/mail/sendmail.el --- a/lisp/mail/sendmail.el Sun Apr 28 22:30:22 2002 +0000 +++ b/lisp/mail/sendmail.el Sun Apr 28 22:35:54 2002 +0000 @@ -1561,8 +1561,9 @@ ;; "##" to the buffer name, where RANDOM-STUFF ;; is the result of (make-temp-name ""). (setq non-random-len - (- (length file-name) (length (make-temp-name "")))) + (- (length file-name) (length (make-temp-name "")) 1)) (setq wildcard (concat (substring file-name 0 non-random-len) "*")) + (debug) (if (null (file-expand-wildcards wildcard)) (message "There are no auto-saved drafts to recover") ;; Bind dired-trivial-filenames to t because all auto-save file