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

Make gg allow to take a uarg #1039

Merged
merged 3 commits into from Sep 1, 2023
Merged

Make gg allow to take a uarg #1039

merged 3 commits into from Sep 1, 2023

Conversation

fukamachi
Copy link
Collaborator

No description provided.

(goto-line n))
(skip-whitespace-forward (current-point) t))
(let ((col (point-charpos (current-point))))
(if (null n)
Copy link
Member

@cxxxr cxxxr Sep 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If possible, please use cond.

https://google.github.io/styleguide/lispguide.xml?showone=Conditional_Expressions#Conditional_Expressions

However, don't use PROGN for an IF clause — use COND, WHEN, or UNLESS.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't entirely agree that it improves readability in this context, but that's fine if you like it.

@fukamachi fukamachi requested a review from cxxxr September 1, 2023 06:07
@cxxxr cxxxr merged commit 2e6292f into lem-project:main Sep 1, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants