VM

vm-save-message doesn't work with only one argument

Bug #797289 reported by Mwelinder
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
VM
Fix Released
Medium
Uday Reddy

Bug Description

This used to work:

(defun vm-save-as-spam ()
  (interactive)
  (vm-save-message "~/vm/spam"))
(define-key vm-mode-map "j" 'vm-save-as-spam)

It does not work anymore but produces an error message about types:
    Wrong type argument: number-char-or-marker-p, nil

If I change to...

(defun vm-save-as-spam ()
  (interactive)
  (vm-save-message "~/vm/spam" 1 nil 'quiet))
(define-key vm-mode-map "j" 'vm-save-as-spam)

then things work again.

This is with 8.2.0a.

Tags: 8.2 save
Revision history for this message
Uday Reddy (reddyuday) wrote :

This is fixed in revision 867 of the 8.2.x branch. Will be part of the 8.2.0 release.

Changed in vm:
status: New → Fix Committed
importance: Undecided → Medium
assignee: nobody → Uday Reddy (reddyuday)
milestone: none → 8.2.0
Uday Reddy (reddyuday)
tags: added: 8.2
Uday Reddy (reddyuday)
tags: added: save
Uday Reddy (reddyuday)
Changed in vm:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.