-
Notifications
You must be signed in to change notification settings - Fork 4
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
if-let
and when-let
#3
Comments
Thanks. This is really annoying. Having every Emacs package that's used these functions since Emacs 25 reimplement these aliases seems like a bad idea, but I guess the choice is to do that or use However, isn't it the case that those macros are marked as obsolete, which means they still exist in Emacs 26 but raise warnings upon compilation? If so, we could simply ignore the warnings... :) |
Really? Actually, I haven't used Emacs 26 yet, so I might have misunderstood the information. I'm sorry for mis-reporting this issue. |
No, you haven't done anything wrong. I haven't used Emacs 26 yet either, but I see that other projects, like radian-software/el-patch#17, have had to deal with this in the same way. I appreciate your reminding me. |
I see. Thanks. I could learn about the compatibility issue. As a Japanese guy, I may tend to say sorry too often. |
please close. Seems like emacs 27 has all 4 functions and nothing has been obsoleted. |
@zenspider I don't mind if someone follows up on old issues, but since it's not your repo, it would be more polite if you didn't tell others what to do. ;) |
Crazily,
if-let
andwhen-let
, which were introduced in Emacs 25, have been renamed toif-let*
andwhen-let*
respectively in Emacs 26 and the old functions no longer exist in newer versions. Therefore you have to useif-let
in Emacs 25 andif-let*
in Emacs 26.A possible workaround is to define aliases:
The text was updated successfully, but these errors were encountered: