Remove unused code

This commit is contained in:
Tom Willemse 2016-06-06 00:13:03 +02:00
parent 02fab2aa75
commit 69d68f772e

View file

@ -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"