Skip to content

Conversation

@aavanian
Copy link

Closes #68

Copy link
Owner

@alphapapa alphapapa left a comment

Choose a reason for hiding this comment

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

Thanks for reporting this bug and suggesting this patch. I'd suggest making these amendments, and then it can be merged.

org-web-tools.el Outdated
Comment on lines 199 to 200
(not (string-match "--no-wrap is deprecated" (buffer-string)))
(not (string-match "--no-wrap has been removed" (buffer-string))))
Copy link
Owner

Choose a reason for hiding this comment

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

This would be better written using a single regular expression matching both strings. The rx macro makes these easy to read and write.

As well, this would be a good opportunity to use string-match-p instead.

Copy link
Author

Choose a reason for hiding this comment

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

Done though not sure about your preference about line length and where to break it.

@alphapapa alphapapa self-assigned this Jan 25, 2024
@aavanian aavanian requested a review from alphapapa February 6, 2024 01:22
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.

org-web-tools--check-pandoc-no-wrap-option fails to correctly set the option

2 participants