Permalink
Browse files

Replace @ in README with deref

Some lein plugins, such as [lein-ancient](https://github.com/xsc/lein-ancient), read profiles.clj as EDN. The @ reader macro is not valid EDN, so I changed the example in the README to use deref instead.

Exact usage: https://github.com/xsc/lein-ancient/blob/master/src/leiningen/ancient/utils/io.clj#L93
  • Loading branch information...
1 parent 6ca09a2 commit f2867032e0403e36160506735115eb8f40a3ac86 Reed Lipman committed Oct 22, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
@@ -57,7 +57,7 @@ basis. Just add the following to `~/.lein/profiles.clj`:
'print-cause-trace)
new (ns-resolve (doto 'clj-stacktrace.repl require)
'pst)]
- (alter-var-root orig (constantly @new)))]}}
+ (alter-var-root orig (constantly (deref new))))]}}
```
The `:injections` clause replaces the built-in stack trace printing

0 comments on commit f286703

Please sign in to comment.