diff options
author | Bastien Guerry <bzg@altern.org> | 2011-01-04 17:48:35 +0100 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2011-01-04 17:48:35 +0100 |
commit | de39bf05bea84b842711faa49e560ea4bc087211 (patch) | |
tree | 59f1ad4f984795f818e60c3996670ed9f20bf91f | |
parent | 8d879c387099b3ef86b48d777c53260685a701c8 (diff) | |
download | org-mode-de39bf05bea84b842711faa49e560ea4bc087211.tar.gz |
org.texi: use message-mode instead of mail-mode in examples.
Message-mode is the default mode for composing emails in Emacs
since 2009-07-14. See Stefan's message in Emacs lisp/ChangeLog:
2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
* simple.el (mail-user-agent): Default to the upwardly-UI-compatible
and more featureful message-mode.
-rw-r--r-- | doc/org.texi | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/org.texi b/doc/org.texi index 89baba6..994cc24 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -1837,11 +1837,11 @@ If you like the intuitive way the Org-mode structure editing and list formatting works, you might want to use these commands in other modes like Text mode or Mail mode as well. The minor mode @code{orgstruct-mode} makes this possible. Toggle the mode with @kbd{M-x orgstruct-mode}, or -turn it on by default, for example in Mail mode, with one of: +turn it on by default, for example in Message mode, with one of: @lisp -(add-hook 'mail-mode-hook 'turn-on-orgstruct) -(add-hook 'mail-mode-hook 'turn-on-orgstruct++) +(add-hook 'message-mode-hook 'turn-on-orgstruct) +(add-hook 'message-mode-hook 'turn-on-orgstruct++) @end lisp When this mode is active and the cursor is on a line that looks to Org like a @@ -2193,10 +2193,10 @@ If you like the intuitive way the Org table editor works, you might also want to use it in other modes like Text mode or Mail mode. The minor mode Orgtbl mode makes this possible. You can always toggle the mode with @kbd{M-x orgtbl-mode}. To turn it on by default, for -example in mail mode, use +example in Message mode, use @lisp -(add-hook 'mail-mode-hook 'turn-on-orgtbl) +(add-hook 'message-mode-hook 'turn-on-orgtbl) @end lisp Furthermore, with some special setup, it is possible to maintain tables |