;;; local.el --- local customization ;; Copyright (C) 2013 ;; Author: ;; 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 . ;;; Commentary: ;; Local customization ;;; Code: (defun ravi/normal-license-header () (let ((ret "")) (setq ret (concat ret "Copyright (C) " (format-time-string "%Y ") "Ravi R Kiran \n\n" "License: GNU General Public License (version 3)\n")))) (ravi/normal-license-header) (defalias 'ravi-license-header 'ravi/normal-license-header) ;; Org-capture set-up (defun ravi/setup-org-capture () (add-to-list 'org-capture-templates '("n" ;`org-capture' binding + n "Note" entry (file "") ;empty string defaults to `org-default-notes-file' "\n* %?\n Context:\n %i\n Entered on %U"))) (provide 'local) ;;; local.el ends here