diff lisp/vm/vm-motion.el @ 20:859a2309aef8 r19-15b93

Import from CVS: tag r19-15b93
author cvs
date Mon, 13 Aug 2007 08:50:05 +0200
parents 376386a54a3c
children 131b0175ea99
line wrap: on
line diff
--- a/lisp/vm/vm-motion.el	Mon Aug 13 08:49:44 2007 +0200
+++ b/lisp/vm/vm-motion.el	Mon Aug 13 08:50:05 2007 +0200
@@ -1,5 +1,5 @@
 ;;; Commands to move around in a VM folder
-;;; Copyright (C) 1989, 1990, 1993, 1994 Kyle E. Jones
+;;; Copyright (C) 1989-1997 Kyle E. Jones
 ;;;
 ;;; This program is free software; you can redistribute it and/or modify
 ;;; it under the terms of the GNU General Public License as published by
@@ -19,6 +19,7 @@
 
 (defun vm-record-and-change-message-pointer (old new)
   (intern (buffer-name) vm-buffers-needing-display-update)
+  (vm-garbage-collect-message)
   (setq vm-last-message-pointer old
 	vm-message-pointer new
 	vm-need-summary-pointer-update t))
@@ -275,7 +276,8 @@
   (if (interactive-p)
       (vm-follow-summary-cursor))
   (vm-select-folder-buffer)
-  (vm-display nil nil '(vm-Next-message) '(vm-Next-message))
+  (vm-display nil nil '(vm-next-message-no-skip)
+	      '(vm-next-message-no-skip))
   (let ((vm-skip-deleted-messages nil)
 	(vm-skip-read-messages nil))
     (vm-next-message count nil t)))
@@ -288,7 +290,8 @@
   (if (interactive-p)
       (vm-follow-summary-cursor))
   (vm-select-folder-buffer)
-  (vm-display nil nil '(vm-Previous-message) '(vm-Previous-message))
+  (vm-display nil nil '(vm-previous-message-no-skip)
+	      '(vm-previous-message-no-skip))
   (let ((vm-skip-deleted-messages nil)
 	(vm-skip-read-messages nil))
     (vm-previous-message count)))