Back

*open-url-script* (clj)

(source)

variable

Examples

reborg/clojure-essential-reference
(require 'clojure.java.browse)
(require '[clojure.repl :refer [dir-fn]]) ; <1>

(apply str (interpose "," (dir-fn 'clojure.java.browse))); <2>
;; "*open-url-script*,browse-url"
reborg/clojure-essential-reference
(require '[clojure.java.browse :refer [browse-url *open-url-script*]])

(binding [*open-url-script* (atom "wget")]  ; <1>
  (browse-url "https://tinyurl.com/wandpeace"))
;; true