emacs 2018-02-19

@ghadi has joined the channel

created #inf-clojure for discussion of that lib

👍 1

@manuel has joined the channel

mariusz_jachimowicz 2018-02-19T08:28:44.000256Z

@mariusz_jachimowicz has joined the channel

@manuel has left the channel

so i have just discovered a problem in inf-clojure, i have this code:

(defun inf-clojure--set-repl-type (proc)
  "Set the REPL type if has not already been set.
It requires a REPL PROC for inspecting the correct type."
  (with-current-buffer inf-clojure-buffer
    (if (not inf-clojure-repl-type)
        (setq inf-clojure-repl-type (inf-clojure--detect-repl-type proc))
      inf-clojure-repl-type)))

inf-clojure-repl-type is intended to be a buffer local

ok I found out the bug, I am always in inf-clojure-buffer