Permalink
Browse files

Merge pull request #93 from purcell/patch-1

Explicitly require tramp and inf-lisp
  • Loading branch information...
2 parents bc50cfe + fece709 commit 96e5a7efe1a7d641feb0dbfe8d0b374d7181de03 @technomancy technomancy committed Aug 6, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 clojure-mode.el
View
@@ -68,6 +68,8 @@
;;; Code:
(require 'cl)
+(require 'tramp)
+(require 'inf-lisp)
(defgroup clojure-mode nil
"A mode for Clojure"
@@ -1135,7 +1137,8 @@ The arguments are dir, hostname, and port. The return value should be an `alist
(when (and (functionp 'slime-disconnect)
(slime-current-connection)
- (and (interactive-p) (y-or-n-p "Close old connections first? ")))
+ (and (called-interactively-p 'any)
+ (y-or-n-p "Close old connections first? ")))
(slime-disconnect)
(clojure-kill-swank-buffer swank-buffer-name))
(clojure-jack-in-start-process connection-name swank-buffer-name

0 comments on commit 96e5a7e

Please sign in to comment.