From 58ed43ac257c8f1585a034f1e04fd1ca35884695 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Sat, 20 Apr 2013 02:22:06 -0400 Subject: cleaning up --- init/km-python.el | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'init/km-python.el') diff --git a/init/km-python.el b/init/km-python.el index ce7aa53..9d2752e 100644 --- a/init/km-python.el +++ b/init/km-python.el @@ -2,11 +2,6 @@ (interactive) (insert "sys.exit()")) -(defun km/python-random-assignment () - (interactive) - (km/insert-random-string 10) - (insert " = None")) - (defun km/python-shebang () (interactive) (km/shebang "python")) @@ -18,8 +13,7 @@ import pandas as pd import matplotlib.pyplot as plt from matplotlib.ticker import MaxNLocator -from colors import brew, fgry, bgry" - ) +from colors import brew, fgry, bgry") (defun km/python-insert-analysis-imports () "Common imports for analysis scripts" @@ -27,7 +21,6 @@ from colors import brew, fgry, bgry" (insert km/python-analysis-imports)) (defun km/python-hook () - (local-set-key (kbd "C-c p r") 'km/python-random-assignment) (local-set-key (kbd "C-c p e") 'km/python-sysexit) (local-set-key (kbd "C-c p s") 'km/python-shebang) (local-set-key (kbd "C-c p a") 'km/python-insert-analysis-imports)) -- cgit v1.2.3