1.2.0 permalink Arrow_down_16x16

variable-desc-for-echo-area

swank.commands.contrib.swank-arglists

  • (variable-desc-for-echo-area variable-name)

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source swank/commands/contrib/swank_arglists.clj:17 top

(defslimefn variable-desc-for-echo-area [variable-name]
  (with-emacs-package
   (or 
    (try
     (when-let [sym (read-string variable-name)]
       (when-let [var (resolve sym)]
         (when (.isBound #^clojure.lang.Var var)
           (str variable-name " => " (var-get var)))))
     (catch Exception e nil))
    "")))
Vars in swank.commands.contrib.swank-arglists/variable-desc-for-echo-area: or str var-get when when-let
Used in 0 other vars

Comments top

No comments for variable-desc-for-echo-area. Log in to add a comment.