diff options
| author | Steve Lee <me@xiangyangli.com> | 2019-05-09 08:46:00 +0800 |
|---|---|---|
| committer | Steve Lee <me@xiangyangli.com> | 2019-05-09 08:46:00 +0800 |
| commit | 8fccba38e0d669dc1b30882b110c155ee84f63ca (patch) | |
| tree | 08844b98e486e37f32ad214174a50df619f89efc /.emacs.d/lisp/init-program-basic.el | |
| parent | d2821eb3ed37512fe09df0de81a3227b49f0ce14 (diff) | |
| download | dotfiles-8fccba38e0d669dc1b30882b110c155ee84f63ca.tar.xz dotfiles-8fccba38e0d669dc1b30882b110c155ee84f63ca.zip | |
add slime
Diffstat (limited to '.emacs.d/lisp/init-program-basic.el')
| -rw-r--r-- | .emacs.d/lisp/init-program-basic.el | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.emacs.d/lisp/init-program-basic.el b/.emacs.d/lisp/init-program-basic.el index 04266aa..70bab79 100644 --- a/.emacs.d/lisp/init-program-basic.el +++ b/.emacs.d/lisp/init-program-basic.el @@ -9,6 +9,14 @@ tab-width 4 indent-tabs-mode t) +(defun execute-python-program () + "run current python script." + (interactive) + (save-buffer) + (defvar foo) + (setq foo (concat "python " (buffer-name))) + (shell-command foo)) + (defun execute-c-program () "Complie current c file and run it." (interactive) |
