-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Fix smartparens workaround in auto-completion #4050
Conversation
@@ -263,18 +264,6 @@ | |||
eshell-mode-hook))) | |||
:config | |||
(progn |
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.
[cosmetic] not necessary anymore
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.
Actually this is not cosmetic, if the argument for :config
or any other keyword is multi-line then progn
must be used. It makes the code more readable and easier to work with using paredit like commands or navigation. I'll add this to the conventions.
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 but' it's not multiline anymore? Or do you also want the (progn …
for single commands?
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.
Oh you are right, if it is a one liner then it is indeed unnecessary. In this case I usually but the keyword and the argument on the same line.
447371c
to
13db87c
Compare
Updated. :-) |
Thank you 👍 |
This will fail if smartparens is excluded.