Skip to content

Instantly share code, notes, and snippets.

@kosh04
Created September 27, 2009 09:38
Show Gist options
  • Save kosh04/194694 to your computer and use it in GitHub Desktop.
Save kosh04/194694 to your computer and use it in GitHub Desktop.
;; SLIME終了後に補完バッファが残る場合があるので一緒に消してほしい
(eval-after-load "slime-fuzzy"
(quote (progn
(defadvice slime-fuzzy-done (around ignore-killed-buffer activate)
(when (buffer-live-p slime-fuzzy-target-buffer)
ad-do-it))
(add-hook 'slime-net-process-close-hooks
(defun slime-kill-misc-buffers (process)
(declare (ignore process))
(kill-buffer (get-buffer-create
"*Fuzzy Completions*"))))
)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment