Fork me on GitHub
#emacs
<
2018-02-19
>
ghadi03:02:04

created #inf-clojure for discussion of that lib

richiardiandrea18:02:51

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)))

richiardiandrea18:02:08

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

richiardiandrea19:02:25

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