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

Avoid el-patch-pre-validate-hook boilerplate #10

Closed
raxod502 opened this issue May 8, 2017 · 0 comments
Closed

Avoid el-patch-pre-validate-hook boilerplate #10

raxod502 opened this issue May 8, 2017 · 0 comments
Milestone

Comments

@raxod502
Copy link
Member

raxod502 commented May 8, 2017

This is a very common pattern (repeated nine times in Radian, for example):

(defun radian--enable-ivy-patches ()
  (require 'ivy))
(add-hook 'el-patch-pre-validate-hook #'radian--enable-ivy-patches)

We should provide a way to automate it.

@raxod502 raxod502 added this to the 1.1.2 milestone May 8, 2017
raxod502 added a commit that referenced this issue Jul 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant