summaryrefslogtreecommitdiffstats
path: root/lisp/ravi-init-org.el
diff options
context:
space:
mode:
authorRavi R Kiran <aine.marina@gmail.com>2015-03-17 04:17:17 (GMT)
committerRavi R Kiran <aine.marina@gmail.com>2015-03-17 04:17:17 (GMT)
commita6e94a30a835ea389fe8fc40df162ff327035ccb (patch)
treecf695ab8c77b2c78434b2c6913295641a9287110 /lisp/ravi-init-org.el
parentb94602dccfa28b997b1fc1f2e0373d997f4b95ce (diff)
downloaddotemacs-a6e94a30a835ea389fe8fc40df162ff327035ccb.zip
dotemacs-a6e94a30a835ea389fe8fc40df162ff327035ccb.tar.gz
dotemacs-a6e94a30a835ea389fe8fc40df162ff327035ccb.tar.bz2
Move main emacs directory out of load path
This follows the official emacs recommendation for lisp code inside emacs.d.
Diffstat (limited to 'lisp/ravi-init-org.el')
-rw-r--r--lisp/ravi-init-org.el53
1 files changed, 53 insertions, 0 deletions
diff --git a/lisp/ravi-init-org.el b/lisp/ravi-init-org.el
new file mode 100644
index 0000000..004d2f6
--- /dev/null
+++ b/lisp/ravi-init-org.el
@@ -0,0 +1,53 @@
+;;; ravi-init-org.el --- org initialization
+
+;; Copyright (C) 2014
+
+;; Author: <ravi@nero>
+;; Keywords:
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
+;; Org mode initialization
+
+;;; Code:
+
+(use-package org
+ :ensure org-plus-contrib
+ :mode ("\\.org\\'" . org-mode)
+
+ ;; The following lines are always needed. Choose your own keys.
+ :bind (("C-c l" . org-store-link)
+ ("H--" . org-agenda))
+ :config
+ (progn
+ (use-package htmlize
+ :ensure t)
+ (use-package ox-reveal
+ :load-path (lambda () (ravi/emacs-file "site-lisp/org-reveal"))
+ )
+ (setq org-src-fontify-natively t)
+ (setq org-modules (quote (org-bbdb
+ org-bibtex
+ org-crypt
+ org-gnus
+ org-id
+ org-info)))
+ )
+ )
+
+(provide 'ravi-init-org)
+;;; ravi-init-org.el ends here
+