Browse files

Use the shorter #()

  • Loading branch information...
1 parent 47ac5d9 commit 3b818efaf93b90385eaf3914c53c5d6888e29899 @ivan ivan committed Apr 25, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/clj/org/dipert/swingrepl/main.clj
View
2 src/clj/org/dipert/swingrepl/main.clj
@@ -63,7 +63,7 @@
(apply clojure.main/repl repl-args)))))
(defn- window-closing-dispatcher [window]
- (fn [] (.dispatchEvent window (WindowEvent. window WindowEvent/WINDOW_CLOSING))))
+ #(.dispatchEvent window (WindowEvent. window WindowEvent/WINDOW_CLOSING)))
(defn make-repl-jframe
"Displays a JFrame with JConsole and attached REPL."

0 comments on commit 3b818ef

Please sign in to comment.