-
Notifications
You must be signed in to change notification settings - Fork 114
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
[craftedv2beta] locate-library
-guard for crafted-writing-config
, Documentation for crafted-writing
#329
[craftedv2beta] locate-library
-guard for crafted-writing-config
, Documentation for crafted-writing
#329
Conversation
require
-guard for crafted-writing-config
require
-guard for crafted-writing-config
I forgot to comment a question for this PR. It works now, but the hook calling the function behind the guard is redundant since the guard does the same thing: loading pdf-tools. |
I recall there was some issue when requiring With |
Yeah, pdf-tools is special in that it provides a function called
So I guess this is best achieved by using Edit: Come to think of it, if the
I tend to think the second option is preferable. What's your take, @jvdydev ? |
I personally lean towards the second one as well. This might also be a good time to discuss how we want to deal with things where we do want to provide customization in a module, but don't want to install the package by default (@jeffbowman). |
- pdf-tools: Remove installation script, provide documentation, instead. - fixed a few docstrings in `crafted-writing-config`
I modified the PR. View it as a proposal, I'm happy to adapt it as needed or to follow a different approach. I have now kept hook to require I realize this significantly widens the scope of this PR, but I thought this is the pragmatic way to go. I'm happy to split this up into smaller PRs, just say the word. P.S: Because of the regenerated info files, this will clash with my other documentation PR #331. I'll happily adapt either one to make merging easier. So if one of them is ready to be merged, just do it, I'll then amend the other. |
require
-guard for crafted-writing-config
require
-guard for crafted-writing-config
, Documentation for crafted-writing
require
-guard for crafted-writing-config
, Documentation for crafted-writing
locate-library
-guard for crafted-writing-config
, Documentation for crafted-writing
I still need to review the updates, but just as an initial reaction to the comments here:
I'm okay with option 2 above. Now, I'll go review the code and provide additional feedback as necessary. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes look good to me, anything else we need to consider before merging? (@jvdydev )
Looks good to me (=> ready for merge). The docs formatting looked like it had a ton of nesting, but it renders fine in my info buffer, so I think this is fine (if we find out later, it's not a massive docs refactor either). |
As in #313