# HG changeset patch # User Glenn Morris # Date 1237151259 0 # Node ID b842dd348c1d546585c9685cb5cd8a68531f15ba # Parent d31c1cf523b2f05d8b44fa587e9371e2f7de6b8a (mail-yank-prefix): Doc fix. (mail-mode-map): Only enable the "Cite Original" menu-item when appropriate. Standardize the text used for other headers re hyphens. diff -r d31c1cf523b2 -r b842dd348c1d lisp/mail/sendmail.el --- a/lisp/mail/sendmail.el Sun Mar 15 17:56:30 2009 +0000 +++ b/lisp/mail/sendmail.el Sun Mar 15 21:07:39 2009 +0000 @@ -242,7 +242,7 @@ ;;;###autoload (defcustom mail-yank-prefix nil "Prefix insert on lines of yanked message being replied to. -nil means use indentation." +If this is nil, use indentation, as specified by `mail-indentation-spaces'." :type '(choice (const nil) string) :group 'sendmail) @@ -315,6 +315,8 @@ (define-key map "\C-c\C-c" 'mail-send-and-exit) (define-key map "\C-c\C-s" 'mail-send) (define-key map "\C-c\C-i" 'mail-attach-file) + ;; FIXME add this? "b" = bury buffer. It's in the menu-bar. +;;; (define-key map "\C-c\C-b" 'mail-dont-send) (define-key map [menu-bar mail] (cons "Mail" (make-sparse-keymap "Mail"))) @@ -323,7 +325,7 @@ '("Fill Citation" . mail-fill-yanked-message)) (define-key map [menu-bar mail yank] - '("Cite Original" . mail-yank-original)) + '(menu-item "Cite Original" mail-yank-original :enable mail-reply-action)) (define-key map [menu-bar mail signature] '("Insert Signature" . mail-signature)) @@ -350,13 +352,13 @@ '("Expand Aliases" . expand-mail-aliases)) (define-key map [menu-bar headers sent-via] - '("Sent Via" . mail-sent-via)) + '("Sent-Via" . mail-sent-via)) (define-key map [menu-bar headers mail-reply-to] - '("Mail Reply To" . mail-mail-reply-to)) + '("Mail-Reply-To" . mail-mail-reply-to)) (define-key map [menu-bar headers mail-followup-to] - '("Mail Followup To" . mail-mail-followup-to)) + '("Mail-Followup-To" . mail-mail-followup-to)) (define-key map [menu-bar headers reply-to] '("Reply-To" . mail-reply-to))