summaryrefslogtreecommitdiff
path: root/readme-to-md.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-04-01 01:05:51 -0400
committerKyle Meyer <kyle@kyleam.com>2014-04-01 01:08:00 -0400
commita78a74764e0b2baad914272deac56d83609cad6c (patch)
tree39ec8e2713b84398b54027d4d0444fdf85fe075d /readme-to-md.el
parent128173bca68b579499a2b01a9e7d64fa96a9b192 (diff)
downloadbog-a78a74764e0b2baad914272deac56d83609cad6c.tar.gz
Move pre-commit files to scripts subdirectory
Diffstat (limited to 'readme-to-md.el')
-rw-r--r--readme-to-md.el13
1 files changed, 0 insertions, 13 deletions
diff --git a/readme-to-md.el b/readme-to-md.el
deleted file mode 100644
index 3303029..0000000
--- a/readme-to-md.el
+++ /dev/null
@@ -1,13 +0,0 @@
-(defvar org-location "~/src/emacs/org-mode/lisp")
-
-(when (and org-location (file-exists-p org-location))
- (add-to-list 'load-path org-location)
- (require 'org))
-(require 'ox-md)
-
-(let ((readme-file "bog-readme.org")
- exported-file
- (final-file "README.md"))
- (with-current-buffer (find-file-noselect readme-file)
- (setq exported-file (org-md-export-to-markdown)))
- (rename-file exported-file final-file t))