diff options
| author | Glenn Morris | 2009-03-15 21:07:39 +0000 |
|---|---|---|
| committer | Glenn Morris | 2009-03-15 21:07:39 +0000 |
| commit | e009b5967b55a609892f98de95fa7fe854e9e3bb (patch) | |
| tree | 12352be1ff65b57bf464b73a605bf20934d898cc | |
| parent | 224fc3d1088868941f5185099701d55086260267 (diff) | |
| download | emacs-e009b5967b55a609892f98de95fa7fe854e9e3bb.tar.gz emacs-e009b5967b55a609892f98de95fa7fe854e9e3bb.zip | |
(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.
| -rw-r--r-- | lisp/mail/sendmail.el | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el index bbf42e16b1b..c0b9ee55c11 100644 --- a/lisp/mail/sendmail.el +++ b/lisp/mail/sendmail.el | |||
| @@ -242,7 +242,7 @@ The alias definitions in the file have this form: | |||
| 242 | ;;;###autoload | 242 | ;;;###autoload |
| 243 | (defcustom mail-yank-prefix nil | 243 | (defcustom mail-yank-prefix nil |
| 244 | "Prefix insert on lines of yanked message being replied to. | 244 | "Prefix insert on lines of yanked message being replied to. |
| 245 | nil means use indentation." | 245 | If this is nil, use indentation, as specified by `mail-indentation-spaces'." |
| 246 | :type '(choice (const nil) string) | 246 | :type '(choice (const nil) string) |
| 247 | :group 'sendmail) | 247 | :group 'sendmail) |
| 248 | 248 | ||
| @@ -315,6 +315,8 @@ The default value matches citations like `foo-bar>' plus whitespace." | |||
| 315 | (define-key map "\C-c\C-c" 'mail-send-and-exit) | 315 | (define-key map "\C-c\C-c" 'mail-send-and-exit) |
| 316 | (define-key map "\C-c\C-s" 'mail-send) | 316 | (define-key map "\C-c\C-s" 'mail-send) |
| 317 | (define-key map "\C-c\C-i" 'mail-attach-file) | 317 | (define-key map "\C-c\C-i" 'mail-attach-file) |
| 318 | ;; FIXME add this? "b" = bury buffer. It's in the menu-bar. | ||
| 319 | ;;; (define-key map "\C-c\C-b" 'mail-dont-send) | ||
| 318 | 320 | ||
| 319 | (define-key map [menu-bar mail] | 321 | (define-key map [menu-bar mail] |
| 320 | (cons "Mail" (make-sparse-keymap "Mail"))) | 322 | (cons "Mail" (make-sparse-keymap "Mail"))) |
| @@ -323,7 +325,7 @@ The default value matches citations like `foo-bar>' plus whitespace." | |||
| 323 | '("Fill Citation" . mail-fill-yanked-message)) | 325 | '("Fill Citation" . mail-fill-yanked-message)) |
| 324 | 326 | ||
| 325 | (define-key map [menu-bar mail yank] | 327 | (define-key map [menu-bar mail yank] |
| 326 | '("Cite Original" . mail-yank-original)) | 328 | '(menu-item "Cite Original" mail-yank-original :enable mail-reply-action)) |
| 327 | 329 | ||
| 328 | (define-key map [menu-bar mail signature] | 330 | (define-key map [menu-bar mail signature] |
| 329 | '("Insert Signature" . mail-signature)) | 331 | '("Insert Signature" . mail-signature)) |
| @@ -350,13 +352,13 @@ The default value matches citations like `foo-bar>' plus whitespace." | |||
| 350 | '("Expand Aliases" . expand-mail-aliases)) | 352 | '("Expand Aliases" . expand-mail-aliases)) |
| 351 | 353 | ||
| 352 | (define-key map [menu-bar headers sent-via] | 354 | (define-key map [menu-bar headers sent-via] |
| 353 | '("Sent Via" . mail-sent-via)) | 355 | '("Sent-Via" . mail-sent-via)) |
| 354 | 356 | ||
| 355 | (define-key map [menu-bar headers mail-reply-to] | 357 | (define-key map [menu-bar headers mail-reply-to] |
| 356 | '("Mail Reply To" . mail-mail-reply-to)) | 358 | '("Mail-Reply-To" . mail-mail-reply-to)) |
| 357 | 359 | ||
| 358 | (define-key map [menu-bar headers mail-followup-to] | 360 | (define-key map [menu-bar headers mail-followup-to] |
| 359 | '("Mail Followup To" . mail-mail-followup-to)) | 361 | '("Mail-Followup-To" . mail-mail-followup-to)) |
| 360 | 362 | ||
| 361 | (define-key map [menu-bar headers reply-to] | 363 | (define-key map [menu-bar headers reply-to] |
| 362 | '("Reply-To" . mail-reply-to)) | 364 | '("Reply-To" . mail-reply-to)) |