From 5eb9cf977780042cf36619b01fa8caadd7ee89a7 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 5 Apr 1997 21:39:03 +0000 Subject: [PATCH] (rmail-mode-map): Add menu item for rmail-output-body-to-file and put it on w. --- lisp/mail/rmail.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index 20ed37cf449..34290cf429c 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el @@ -527,7 +527,7 @@ Note: it means the file has no messages in it.\n\^_"))) (define-key rmail-mode-map "\es" 'rmail-search) (define-key rmail-mode-map "t" 'rmail-toggle-header) (define-key rmail-mode-map "u" 'rmail-undelete-previous-message) - (define-key rmail-mode-map "w" 'rmail-edit-current-message) + (define-key rmail-mode-map "w" 'rmail-output-body-to-file) (define-key rmail-mode-map "x" 'rmail-expunge) (define-key rmail-mode-map "." 'rmail-beginning-of-message) (define-key rmail-mode-map "<" 'rmail-first-message) @@ -557,6 +557,9 @@ Note: it means the file has no messages in it.\n\^_"))) (define-key rmail-mode-map [menu-bar classify output-menu] nil) +(define-key rmail-mode-map [menu-bar classify output-body] + '("Output body to file..." . rmail-output-body-to-file)) + (define-key rmail-mode-map [menu-bar classify output-inbox] '("Output (inbox)..." . rmail-output)) -- 2.39.2