comparison lisp/auto-save.el @ 771:943eaba38521

[xemacs-hg @ 2002-03-13 08:51:24 by ben] The big ben-mule-21-5 check-in! Various files were added and deleted. See CHANGES-ben-mule. There are still some test suite failures. No crashes, though. Many of the failures have to do with problems in the test suite itself rather than in the actual code. I'll be addressing these in the next day or so -- none of the test suite failures are at all critical. Meanwhile I'll be trying to address the biggest issues -- i.e. build or run failures, which will almost certainly happen on various platforms. All comments should be sent to ben@xemacs.org -- use a Cc: if necessary when sending to mailing lists. There will be pre- and post- tags, something like pre-ben-mule-21-5-merge-in, and post-ben-mule-21-5-merge-in.
author ben
date Wed, 13 Mar 2002 08:54:06 +0000
parents 5aa1854ad537
children 79940b592197
comparison
equal deleted inserted replaced
770:336a418893b5 771:943eaba38521
588 (set-buffer (if file 588 (set-buffer (if file
589 (find-file-noselect file t) 589 (find-file-noselect file t)
590 (generate-new-buffer "*recovered*"))) 590 (generate-new-buffer "*recovered*")))
591 (setq buffer-read-only nil) 591 (setq buffer-read-only nil)
592 (erase-buffer) 592 (erase-buffer)
593 (insert-file-contents afile nil) 593 ;; see comment in `revert-buffer' in files.el about
594 ;; why it's safe to always use `escape-quoted'.
595 (let ((coding-system-for-read 'escape-quoted))
596 (insert-file-contents afile nil))
594 (ignore-errors 597 (ignore-errors
595 (after-find-file nil)) 598 (after-find-file nil))
596 (setq buffer-auto-save-file-name nil) 599 (setq buffer-auto-save-file-name nil)
597 (incf count) 600 (incf count)
598 (message "\ 601 (message "\