summaryrefslogtreecommitdiff
path: root/nrepl-repl.el
diff options
context:
space:
mode:
authorBozhidar Batsov <bozhidar@tradeo.com>2013-10-15 12:04:25 +0300
committerBozhidar Batsov <bozhidar@tradeo.com>2013-10-15 12:04:25 +0300
commita135f5e87026ab0e3a7fda806f8c178c9ec0c90a (patch)
treecd9715175a9ef83deeec69196d5ef82065dd94d0 /nrepl-repl.el
parentc78b9ebdfbee6b6dc00aea96ec7c544eb0f4d71f (diff)
Remove redundant lexical-let
Diffstat (limited to 'nrepl-repl.el')
-rw-r--r--nrepl-repl.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/nrepl-repl.el b/nrepl-repl.el
index 1f3f0e43..741ce40e 100644
--- a/nrepl-repl.el
+++ b/nrepl-repl.el
@@ -31,6 +31,7 @@
;;; Code:
(require 'nrepl-client)
+(require 'nrepl-version)
(defface nrepl-prompt-face
'((t (:inherit font-lock-keyword-face)))
@@ -116,8 +117,8 @@ positions before and after executing BODY."
(defun nrepl-make-repl (process)
"Make a REPL for the connection PROCESS."
- (lexical-let ((connection-buffer (process-buffer process))
- (repl-buffer (nrepl-create-repl-buffer process)))
+ (let ((connection-buffer (process-buffer process))
+ (repl-buffer (nrepl-create-repl-buffer process)))
(with-current-buffer repl-buffer
(setq nrepl-connection-buffer (buffer-name connection-buffer)))
(with-current-buffer connection-buffer