-
Notifications
You must be signed in to change notification settings - Fork 112
[Fix #313] pf
doesn't understand %&
#327
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The tests pass locally, not sure what the weird stuff on travis is about.
Times a million :( |
Sorry if this was already suggested, but is it possible to use |
@@ -2611,10 +2611,12 @@ See: https://github.com/clojure-emacs/clj-refactor.el/wiki/cljr-update-project-d | |||
(cljr--goto-fn-definition) | |||
(let ((fn-start (point)) | |||
var replacement) | |||
(while (re-search-forward "%[1-9]?" (cljr--point-after 'paredit-forward) t) | |||
(while (re-search-forward "%[1-9]?&?" (cljr--point-after 'paredit-forward) t) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or "%[1-9&]?"
?
Unfortunately not :( |
bd809d2
to
b95bfd2
Compare
There is no workaround, short of coupling our tests to the number of calls to Looks like we got a bad container or something, the travis tests are passing again on this branch. |
@@ -12,6 +12,7 @@ | |||
|
|||
### Bugs fixed | |||
|
|||
- [#313](https://github.com/clojure-emacs/clj-refactor.el/issues/313) `*data-readers*` teach `pf` about function literals using `%&`. | |||
- [#320](https://github.com/clojure-emacs/clj-refactor.el/issues/320) `*data-readers*` ignored when searching for macros. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lol
that copy paste error propagated through all my commits
fair enough |
No tests are added because of a long standing bug in the test framework
where use of
%s
triggers a 'wrong number of args passed to format'error.