diff options
author | Tom Willemsen | 2013-03-29 15:46:50 +0100 |
---|---|---|
committer | Tom Willemsen | 2013-03-29 15:46:50 +0100 |
commit | 752c0436b1b6017baedd752a4d676973a6f2ab87 (patch) | |
tree | 5b38b2fb65bfd1645f05223abff7bb6d843685b4 /emacs | |
parent | 56822a900cb3e8d3d80cf97a4e9c87bdc4b9596e (diff) | |
download | dotfiles-752c0436b1b6017baedd752a4d676973a6f2ab87.tar.gz dotfiles-752c0436b1b6017baedd752a4d676973a6f2ab87.zip |
Emacs: speedup calling of ansi-term
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/site-lisp/oni.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/site-lisp/oni.el b/emacs/site-lisp/oni.el index 9ff1ee4..027463b 100644 --- a/emacs/site-lisp/oni.el +++ b/emacs/site-lisp/oni.el @@ -373,7 +373,7 @@ When dealing with braces, add another line and indent that too." (let ((buffer (get-buffer "*ansi-term*"))) (if (and buffer (not arg)) (switch-to-buffer buffer) - (call-interactively 'ansi-term)))) + (ansi-term (getenv "SHELL"))))) (defun oni:raise-scratch (&optional mode) "Show the *scratch* buffer. |