Closes ansi-term window on exit
This commit is contained in:
parent
bf59063853
commit
a98d537843
1 changed files with 2 additions and 2 deletions
|
@ -114,7 +114,7 @@
|
||||||
|
|
||||||
|
|
||||||
;; Load custom Emacs functions
|
;; Load custom Emacs functions
|
||||||
(load "~/.emacs/wc-helper-functions.lisp")
|
(load "~/.emacs.d/wc-helper-functions.lisp")
|
||||||
|
|
||||||
|
|
||||||
;; ERC configuration (IRC in Emacs)
|
;; ERC configuration (IRC in Emacs)
|
||||||
|
@ -184,7 +184,7 @@
|
||||||
(if (memq (process-status proc) '(signal exit))
|
(if (memq (process-status proc) '(signal exit))
|
||||||
(let ((buffer (process-buffer proc)))
|
(let ((buffer (process-buffer proc)))
|
||||||
ad-do-it
|
ad-do-it
|
||||||
(kill-buffer buffer))
|
(kill-buffer-and-window))
|
||||||
ad-do-it))
|
ad-do-it))
|
||||||
(ad-activate 'term-sentinel)
|
(ad-activate 'term-sentinel)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue