summaryrefslogtreecommitdiff
path: root/init/km-python.el
diff options
context:
space:
mode:
authorKyle Meyer <meyerkya@gmail.com>2013-04-20 02:22:06 -0400
committerKyle Meyer <meyerkya@gmail.com>2013-04-20 02:22:06 -0400
commit58ed43ac257c8f1585a034f1e04fd1ca35884695 (patch)
tree0cd6d22b81ae1e99f6bc6b41b1b09efcc0b967a3 /init/km-python.el
parent18755b3721cdeedad7beb20610d758004b2ce533 (diff)
downloademacs.d-58ed43ac257c8f1585a034f1e04fd1ca35884695.tar.gz
cleaning up
Diffstat (limited to 'init/km-python.el')
-rw-r--r--init/km-python.el9
1 files changed, 1 insertions, 8 deletions
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))