From e1cb8353421d573c404975c3a752a17f251fc9dc Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 24 Feb 2014 23:16:12 +0100 Subject: Programmatically generate colors for todo and tags --- .emacs.d/init.el | 4 ---- 1 file changed, 4 deletions(-) (limited to '.emacs.d/init.el') diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 5c86ced..e7eda5f 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -200,10 +200,6 @@ MODE1 is enabled and vice-versa." (interactive) (server-save-buffers-kill-terminal nil)) -(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))) - (defun oni:css-mode-func () "Function for `css-mode-hook'." (local-set-key "\C-j" 'oni:newline-and-indent)) -- cgit v1.2.3-54-g00ecf