Skip to content

Commit

Permalink
Add new special form.
Browse files Browse the repository at this point in the history
  • Loading branch information
zk committed Jul 15, 2015
1 parent db074dd commit 32620d2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Expand Up @@ -145,7 +145,8 @@ in this vector will be queried for public vars to be made searchable
and displayable on the site.

Special forms are specified in the
`clojuredocs.search.static/special-forms` list.
`clojuredocs.search.static/special-forms` list, and require a server
restart to be picked up in a dev environment.


### Adding Core Libraries
Expand Down
5 changes: 4 additions & 1 deletion src/clj/clojuredocs/search/static.clj
Expand Up @@ -114,7 +114,10 @@ locking macro. See http://clojure.org/special_forms for more information."}
{:name 'monitor-exit
:ns "clojure.core"
:doc "A synchronization primitive that should be avoided in user code. Use the
locking macro. See http://clojure.org/special_forms for more information."}]
locking macro. See http://clojure.org/special_forms for more information."}
{:name 'new
:ns "clojure.core"
:doc "Instantiate a class. See http://clojure.org/java_interop#new for more information."}]
(map #(assoc % :type "special-form"))))

(def concept-pages
Expand Down

0 comments on commit 32620d2

Please sign in to comment.