diff options
author | Kyle Meyer <kyle@kyleam.com> | 2014-01-26 02:00:22 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2014-01-26 02:00:22 -0500 |
commit | 4bcfb672357b5840249c72b28cb860001c4e3967 (patch) | |
tree | 13e236eaccfdf6985e576f3b07bdec937f2f7955 /lisp/init-python.el | |
parent | 7869360008d87ca4b459c703f4894625dd8181cc (diff) | |
download | emacs.d-4bcfb672357b5840249c72b28cb860001c4e3967.tar.gz |
Reorganize and use require-package
`require-package' is from
https://github.com/purcell/emacs.d/blob/master/lisp/init-elpa.el.
Diffstat (limited to 'lisp/init-python.el')
-rw-r--r-- | lisp/init-python.el | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/lisp/init-python.el b/lisp/init-python.el index ae4871b..bbd477b 100644 --- a/lisp/init-python.el +++ b/lisp/init-python.el @@ -1,17 +1,16 @@ ;; http://www.emacswiki.org/emacs/PythonProgrammingInEmacs#toc5 (defun km/setup-ipython-shell () (interactive) - (setq - python-shell-interpreter "ipython" - python-shell-interpreter-args "" - python-shell-prompt-regexp "In \\[[0-9]+\\]: " - python-shell-prompt-output-regexp "Out\\[[0-9]+\\]: " - python-shell-completion-setup-code - "from IPython.core.completerlib import module_completion" - python-shell-completion-module-string-code - "';'.join(module_completion('''%s'''))\n" - python-shell-completion-string-code - "';'.join(get_ipython().Completer.all_completions('''%s'''))\n")) + (setq python-shell-interpreter "ipython" + python-shell-interpreter-args "" + python-shell-prompt-regexp "In \\[[0-9]+\\]: " + python-shell-prompt-output-regexp "Out\\[[0-9]+\\]: " + python-shell-completion-setup-code + "from IPython.core.completerlib import module_completion" + python-shell-completion-module-string-code + "';'.join(module_completion('''%s'''))\n" + python-shell-completion-string-code + "';'.join(get_ipython().Completer.all_completions('''%s'''))\n")) (defun km/create-python-test-file (arg) "Create a python test file from the name of the current file. |