summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2016-06-06 00:13:03 +0200
committerGravatar Tom Willemse2016-06-06 00:13:03 +0200
commit69d68f772eec48d386a9c49b4d9451a6f9a87735 (patch)
treef0f78e635bded3cadadceb5552649a21c02c50b2
parent02fab2aa7519101ab708f8dc3976def35893174f (diff)
downloaddotfiles-69d68f772eec48d386a9c49b4d9451a6f9a87735.tar.gz
dotfiles-69d68f772eec48d386a9c49b4d9451a6f9a87735.zip
Remove unused code
-rw-r--r--emacs/.emacs.d/site-lisp/org-init.el9
1 files changed, 0 insertions, 9 deletions
diff --git a/emacs/.emacs.d/site-lisp/org-init.el b/emacs/.emacs.d/site-lisp/org-init.el
index 84cada4..044d6cb 100644
--- a/emacs/.emacs.d/site-lisp/org-init.el
+++ b/emacs/.emacs.d/site-lisp/org-init.el
@@ -43,11 +43,6 @@
(with-eval-after-load 'org-crypt
(org-crypt-use-before-save-magic))
-(defun tagify (str)
- "Remove dots, replace - with _ in STR."
- (replace-regexp-in-string
- "-" "_" (replace-regexp-in-string "\\." "" (downcase str))))
-
(defun oni:color-for (object)
"Generate a hex color by taking the first 6 characters of OBJECT's MD5 sum."
(format "#%s" (substring (md5 object) 0 6)))
@@ -90,10 +85,6 @@ PLIST contains all the pertinent information."
(format "* ACQUIRE %s %s - %s \n SCHEDULED: <%s>"
title episode name date))))
-(defun oni:org-colors-for (names)
- "Create an alist for NAMES with corresponding colors."
- (mapcar (lambda (name) (cons name (oni:color-for name))) names))
-
(defun oni:note-template ()
(concat
"* %<%c>\n"