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

Add font-lock for el-patch-def* forms #49

Closed
wants to merge 1 commit into from

Conversation

Fuco1
Copy link
Contributor

@Fuco1 Fuco1 commented Jan 18, 2021

Copy of #38

Copy link
Member

@raxod502 raxod502 left a comment

Choose a reason for hiding this comment

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

This looks great, just two last things:

  • The docstring for el-patch-deftype should mention FONT-LOCK, like the other argments.
  • This section of the README should be updated because it has a code snippet showing the definition of el-patch-defun, so that snippet should add the new keyword argument along with the source code.

(font-lock-add-keywords
'emacs-lisp-mode
`((,(concat
(format "(\\(el-patch-%S\\)\\>[[:blank:]]+\\(" type)
Copy link
Contributor

@haji-ali haji-ali Mar 1, 2021

Choose a reason for hiding this comment

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

Shouldn't this account for macroname in case it is not nil in el-patch-deftype?

Copy link
Member

Choose a reason for hiding this comment

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

Oh yeah, that's right. I... am not sure why I implemented this macro-name feature in the first place, but yes, it should be supported here as long as we've got it.

@raxod502
Copy link
Member

raxod502 commented Jun 6, 2021

This thread is being closed automatically by Tidier because it is labeled with "waiting on response" and has not seen any activity for 90 days. But don't worry—if you have any information that might advance the discussion, leave a comment and I will be happy to reopen the thread :)

@raxod502 raxod502 closed this Jun 6, 2021
raxod502 added a commit that referenced this pull request Jan 3, 2022
Closes   #35.
Based on #49
     and #38.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants