]> git.bundesbrandschatzamt.de Git - emacsconfig.git/commitdiff
bind org-mime-org-buffer-htmlize to C-c M
authorAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Fri, 2 Oct 2015 15:04:14 +0000 (17:04 +0200)
committerAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Fri, 2 Oct 2015 15:04:14 +0000 (17:04 +0200)
bba.org

diff --git a/bba.org b/bba.org
index 9e33bf10cf4d8a582222cdac333dee60bcb83f97..e6b92c02b57237cae8376bfc5cbdfd7ee03d5ec6 100644 (file)
--- a/bba.org
+++ b/bba.org
@@ -966,6 +966,17 @@ that Youtube specifies. The advantage (over simply writing out the
 iframe) is that this link can be clicked in org-mode, and can be
 exported to other formats as well.
 
+
+** org-mime-org-buffer-htmlize
+
+Use =C-c M= to send a multipart email with .org as text and exported
+html.
+
+#+BEGIN_SRC emacs-lisp
+  (add-hook 'org-mode-hook
+            (lambda()
+              (define-key org-mode-map "\C-c\S-m" 'org-mime-org-buffer-htmlize)))
+#+END_SRC
 * cfengine
 
 #+BEGIN_SRC emacs-lisp