Fix cljr-magic-requires when it equals to :prompt:
If (> (length (cl-second aliases)) 1) is true, then the user was already prompted by (cljr--prompt-user-for "Require " (cl-second aliases)), in which case we want it to evaluate to true to short-circuit the or.
Before submitting a PR make sure the following things have been done (and denote this
by checking the relevant checkboxes):
WIP: tests/changelog to be done
Fix
cljr-magic-requires
when it equals to:prompt
:If
(> (length (cl-second aliases)) 1)
is true, then the user was already prompted by(cljr--prompt-user-for "Require " (cl-second aliases))
, in which case we want it to evaluate totrue
to short-circuit theor
.Before submitting a PR make sure the following things have been done (and denote this by checking the relevant checkboxes):
cask exec emacs -batch -Q -L . -eval "(progn (setq byte-compile-error-on-warn t) (batch-byte-compile))" clj-refactor.el
)./run-tests.sh
)Thanks!