                    (docs/special-doc-map sym) (repl/print-doc (docs/special-doc sym))
                    (docs/repl-special-doc-map sym) (repl/print-doc (docs/repl-special-doc sym))
                    (get-namespace sym) (repl/print-doc (select-keys (get-namespace sym) [:name :doc]))
-                   :else (repl/print-doc (get-var opts env sym)))))))
+                   :else (repl/print-doc (get-var opts (empty-analyzer-env) sym)))))))
 
 (defn process-pst
   [opts cb data expr]

                                     (cb (common/wrap-success "nil"))))))

(defn process-source
  [opts cb data env sym]
  (let [var (get-var opts env sym)
        call-back (partial call-back! (merge opts {:no-pr-str-on-value true}) cb data)]
    (if-let [filepath (or (:file var) (:file (:meta var)))]
      (let [src-paths (:src-paths opts)
            ;; see discussion here: https://github.com/ScalaConsultants/replumb/issues/17#issuecomment-163832028

      (call-back (common/wrap-success "nil")))))

(defn process-dir
  [opts cb data sym]
  (let [vars (-> (ns-publics st sym) keys sort)
        call-back (partial call-back! (merge opts {:no-pr-str-on-value true}) cb data)]
    (if (seq vars)
