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 support for functions provided by the compat package #254

Merged
merged 3 commits into from
Nov 3, 2023

Conversation

purcell
Copy link
Owner

@purcell purcell commented Nov 3, 2023

See #227

@purcell purcell force-pushed the compat-support branch 2 times, most recently from 34f5929 to d62999f Compare November 3, 2023 17:35
package-lint.el Outdated
(insert-file-contents el-path)
(goto-char (point-min))
;; TODO convert to rx
(while (search-forward-regexp "^(compat-\\(defun\\|\\defvar\\) +\\_<\\(.*?\\)\\_>" nil t)
Copy link
Contributor

Choose a reason for hiding this comment

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

Also compat-defmacro should be added here.

Copy link
Owner Author

Choose a reason for hiding this comment

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

Ah yes! I should find an example and add a test.

Copy link
Owner Author

Choose a reason for hiding this comment

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

And I've ignored variables, which aren't actually handled in the existing code.

@purcell purcell merged commit 09ce884 into master Nov 3, 2023
32 checks passed
@purcell purcell deleted the compat-support branch November 3, 2023 18:09
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