Mercurial > hg > xemacs-beta
comparison lisp/vm/vm-save.el @ 26:441bb1e64a06 r19-15b96
Import from CVS: tag r19-15b96
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:51:32 +0200 |
parents | 4103f0995bd7 |
children | ec9a17fef872 |
comparison
equal
deleted
inserted
replaced
25:383a494979f8 | 26:441bb1e64a06 |
---|---|
96 The saved messages are flagged as `filed'." | 96 The saved messages are flagged as `filed'." |
97 (interactive "P") | 97 (interactive "P") |
98 (vm-select-folder-buffer) | 98 (vm-select-folder-buffer) |
99 (vm-check-for-killed-summary) | 99 (vm-check-for-killed-summary) |
100 (vm-error-if-folder-empty) | 100 (vm-error-if-folder-empty) |
101 (vm-unsaved-message "Archiving...") | 101 (message "Archiving...") |
102 (let ((auto-folder) | 102 (let ((auto-folder) |
103 (archived 0)) | 103 (archived 0)) |
104 (unwind-protect | 104 (unwind-protect |
105 ;; Need separate (let ...) so vm-message-pointer can | 105 ;; Need separate (let ...) so vm-message-pointer can |
106 ;; revert back in time for | 106 ;; revert back in time for |
133 auto-folder))) | 133 auto-folder))) |
134 (let ((vm-delete-after-saving vm-delete-after-archiving)) | 134 (let ((vm-delete-after-saving vm-delete-after-archiving)) |
135 (if (not (string-equal auto-folder "/dev/null")) | 135 (if (not (string-equal auto-folder "/dev/null")) |
136 (vm-save-message auto-folder)) | 136 (vm-save-message auto-folder)) |
137 (vm-increment archived) | 137 (vm-increment archived) |
138 (vm-unsaved-message "%d archived, still working..." | 138 (message "%d archived, still working..." |
139 archived))) | 139 archived))) |
140 (setq done (eq vm-message-pointer stop-point) | 140 (setq done (eq vm-message-pointer stop-point) |
141 vm-message-pointer (cdr vm-message-pointer)))) | 141 vm-message-pointer (cdr vm-message-pointer)))) |
142 ;; fix mode line | 142 ;; fix mode line |
143 (intern (buffer-name) vm-buffers-needing-display-update) | 143 (intern (buffer-name) vm-buffers-needing-display-update) |