-
-
Notifications
You must be signed in to change notification settings - Fork 645
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
Replace if-let
and when-let
with starred versions
#2132
Conversation
c7a976e
to
fcbaadb
Compare
CHANGELOG.md
Outdated
@@ -14,6 +14,7 @@ | |||
* [#2078](https://github.com/clojure-emacs/cider/pull/2078): Improve startup time by bundling together sync requests during startup. | |||
* `cider-rotate-default-connection` will warn if you use it with only a single active connection. | |||
* `cider-format-buffer` preserves the point position. | |||
* [#2132](https://github.com/clojure-emacs/cider/pull/2132): Replace `if-let` and `when-let` with starred versions [per Emacs 26](http://git.savannah.gnu.org/cgit/emacs.git/tree/etc/NEWS?h=emacs-26#n1278). |
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.
That's not a user-visible change, so we shouldn't put in in the changelog.
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.
✅
cider-overlays.el
Outdated
(format (concat " " cider-eval-result-prefix "%s ")) | ||
(prepend-face 'cider-result-overlay-face) | ||
&allow-other-keys) | ||
(format (concat " " cider-eval-result-prefix "%s ")) |
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.
This change seems unrelated.
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.
We should all get in the good habit of putting whitespace-cleanup
in before-save-hook
😛.
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.
Yeah, I get how this happened, I just don't unrelated changes in commits. Btw, even the fixed indentation seems wrong for some reason. cl-defun
should be indented as defun
.
fcbaadb
to
26c6d0b
Compare
Fix clojure-emacs#2130. Emacs 26 obsoletes `if-let` and `when-let`, replacing them with `if-let*` and `when-let*`. This raises byte-compilation warnings (treated as errors) when testing against Emacs 26. See: http://git.savannah.gnu.org/cgit/emacs.git/tree/etc/NEWS?h=emacs-26#n1278
26c6d0b
to
ab1bbdd
Compare
Thanks for taking care of this, @xiongtx! You rock! 🎸 |
Emacs 26 obsoletes
if-let
andwhen-let
, replacing them withif-let*
andwhen-let*
. This raises byte-compilation warnings (treated as errors) when testing against Emacs 26.