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

ill-advised var setting #5

Open
agzam opened this issue Nov 1, 2022 · 0 comments
Open

ill-advised var setting #5

agzam opened this issue Nov 1, 2022 · 0 comments

Comments

@agzam
Copy link

agzam commented Nov 1, 2022

Thank you for this package. As a frequent HN reader, I was a bit skeptical, but it turned out to be really nice.

If I may, I have a small suggestion. I just started using the package, at some point, perhaps I come up with some other things.

In the readme, you suggest setting org-confirm-elisp-link-function. I don't think that is very wise. Elisp links can be dangerous, since they can run any arbitrary shell command.

I would recommend adding a hook that would run whenever *HN* buffer gets created. That way you can set it locally in the buffer:

(setq-local org-link-elisp-confirm-function nil)

Also, org-confirm-elisp-link-function is now obsolete.

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

No branches or pull requests

1 participant