Welcome! Please see the About page for a little more info on how this works.

+12 votes
in Docs by
Pass all args from {{defonce}} on to {{def}} so it supports docstrings (or potentially other future features) just like def.

Docstrings and other Var metadata will be lost when the {{defonce}} is reƫvaluated.

*Patch:* clj-1148-defonce-6.patch

*Screened by:*

17 Answers

0 votes

Comment made by: jafingerhut

Linus, while JIRA can handle multiple attachments on the same ticket with identical names, it can be confusing to do so. Would you mind renaming or removing the ones you have added with duplicate names, e.g. delete obsolete ones, perhaps? Instructions for deleting patches are in the "Removing patches" section on this wiki page: http://dev.clojure.org/display/community/Developing Patches

0 votes
Reference: https://clojure.atlassian.net/browse/CLJ-1148 (reported by joegallo)