diff lisp/vm/vm-startup.el @ 126:1370575f1259 xemacs-20-1p1

Import from CVS: tag xemacs-20-1p1
author cvs
date Mon, 13 Aug 2007 09:27:39 +0200
parents cca96a509cfe
children 869e1851236b
line wrap: on
line diff
--- a/lisp/vm/vm-startup.el	Mon Aug 13 09:26:41 2007 +0200
+++ b/lisp/vm/vm-startup.el	Mon Aug 13 09:27:39 2007 +0200
@@ -171,9 +171,7 @@
 	  (setq totals-blurb (vm-emit-totals-blurb)))
 
       (vm-thoughtfully-select-message)
-      (if vm-message-list
-	  (vm-preview-current-message)
-	(vm-update-summary-and-mode-line))
+      (vm-update-summary-and-mode-line)
       ;; need to do this after any frame creation because the
       ;; toolbar sets frame-specific height and width specifiers.
       (and (vm-toolbar-support-possible-p) vm-use-toolbar
@@ -209,6 +207,9 @@
 				      vm-presentation-buffer
 				      (current-buffer)))))))
 
+      (if vm-message-list
+	  (vm-preview-current-message))
+
       (run-hooks 'vm-visit-folder-hook)
 
       (if full-startup
@@ -275,7 +276,7 @@
 (defun vm-mode (&optional read-only)
   "Major mode for reading mail.
 
-This is VM 6.24.
+This is VM 6.26.
 
 Commands:
    h - summarize folder contents
@@ -1054,7 +1055,7 @@
 (defun vm-session-initialization ()
   (vm-note-emacs-version)
   (vm-check-emacs-version)
-  (vm-set-debug-flags)
+  ;(vm-set-debug-flags)
   ;; If this is the first time VM has been run in this Emacs session,
   ;; do some necessary preparations.
   (if (or (not (boundp 'vm-session-beginning))