changeset 6407:0ccccd01dc8f

(rmail-output-menu): New command.
author Richard M. Stallman <rms@gnu.org>
date Fri, 18 Mar 1994 07:08:37 +0000
parents 6c9903c97bf4
children 185b1fd3a525
files lisp/mail/rmailout.el
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/rmailout.el	Fri Mar 18 06:57:36 1994 +0000
+++ b/lisp/mail/rmailout.el	Fri Mar 18 07:08:37 1994 +0000
@@ -37,6 +37,13 @@
 or more generally it may be any kind of expression that returns
 a file name as a string.")
 
+(defun rmail-output-menu (event)
+  "Output current message to another Rmail file, chosen with a menu."
+  (interactive "e")
+  (rmail-output-to-rmail-file
+   (expand-file-name (rmail-secondary-file-menu event)
+		     rmail-secondary-file-directory)))
+
 ;;; There are functions elsewhere in Emacs that use this function; check
 ;;; them out before you change the calling method.
 (defun rmail-output-to-rmail-file (file-name &optional count)