Skip to content
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

Code Cleanup #4

Open
Nooby opened this issue Nov 14, 2018 · 0 comments
Open

Code Cleanup #4

Nooby opened this issue Nov 14, 2018 · 0 comments

Comments

@Nooby
Copy link
Owner

Nooby commented Nov 14, 2018

(when (bound-and-true-p swagger-mode)

(bound-and-true-p swagger-mode) can just be swagger-mode, because that symbol will always be bound when that code is executed.

(if (not (eq return 0))

(if (not cond) body) can more neatly be written (unless cond body)

@Nooby Nooby added this to the Melpa Inclusion milestone Nov 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant