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

M-x lisp-macroexpand-in-place #1289

Merged
merged 3 commits into from
Feb 9, 2024
Merged

Conversation

garlic0x1
Copy link
Collaborator

Same as lisp-macroexpand, but replaces the form in the buffer with the expanded one.

Screencast.from.2024-02-04.16-55-42.webm

I would find this useful for when I start writing something with a macro and then change my mind on using it.

@@ -146,7 +146,7 @@
(backward-up-list point)
(skip-chars-backward point #'syntax-expr-prefix-char-p))
(values point
(form-offset (copy-point point :temporary) 1)))
(form-offset (copy-point point :temporary) 1)))
Copy link
Member

Choose a reason for hiding this comment

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

Is the indentation out of alignment?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This seems to be a bug in #'indent-buffer, It has been happening in other spots too.

Screencast.from.2024-02-05.18-28-40.webm

@cxxxr cxxxr merged commit dc475a2 into lem-project:main Feb 9, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants