Mercurial > hg > xemacs-beta
diff lisp/vm/vm-startup.el @ 120:cca96a509cfe r20-1b12
Import from CVS: tag r20-1b12
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:25:29 +0200 |
parents | 7d55a9ba150c |
children | 1370575f1259 |
line wrap: on
line diff
--- a/lisp/vm/vm-startup.el Mon Aug 13 09:24:19 2007 +0200 +++ b/lisp/vm/vm-startup.el Mon Aug 13 09:25:29 2007 +0200 @@ -25,7 +25,7 @@ Prefix arg or optional second arg READ-ONLY non-nil indicates that the folder should be considered read only. No attribute -changes, messages additions or deletions will be allowed in the +changes, message additions or deletions will be allowed in the visited folder. Visiting the primary inbox causes any contents of the system mailbox to @@ -81,7 +81,7 @@ ;; This is only possible if a file is visited and then vm-mode ;; is run on it afterwards. (defvar buffer-file-coding-system) - (if (and (vm-xemacs-mule-p) + (if (and vm-xemacs-mule-p (not (eq (get-coding-system buffer-file-coding-system) (get-coding-system 'no-conversion-unix))) (not (eq (get-coding-system buffer-file-coding-system) @@ -275,7 +275,7 @@ (defun vm-mode (&optional read-only) "Major mode for reading mail. -This is VM 6.23. +This is VM 6.24. Commands: h - summarize folder contents @@ -1026,13 +1026,13 @@ (vm-display nil nil '(vm-load-init-file) '(vm-load-init-file))) (defun vm-check-emacs-version () - (cond ((and (vm-xemacs-p) + (cond ((and vm-xemacs-p (or (< emacs-major-version 19) (and (= emacs-major-version 19) (< emacs-minor-version 14)))) (error "VM %s must be run on XEmacs 19.14 or a later version." vm-version)) - ((and (vm-fsfemacs-19-p) + ((and vm-fsfemacs-19-p (or (< emacs-major-version 19) (and (= emacs-major-version 19) (< emacs-minor-version 34)))) @@ -1052,6 +1052,7 @@ )))) (defun vm-session-initialization () + (vm-note-emacs-version) (vm-check-emacs-version) (vm-set-debug-flags) ;; If this is the first time VM has been run in this Emacs session,