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

Problem with `eval-with-compile` #6

Closed
ndw opened this issue Jan 21, 2020 · 2 comments
Closed

Problem with `eval-with-compile` #6

ndw opened this issue Jan 21, 2020 · 2 comments

Comments

@ndw
Copy link

@ndw ndw commented Jan 21, 2020

I reported a bug against straight.el that appears to be a problem in om.el:

I get:

Debugger entered--Lisp error: (void-variable om-elements)
  (-intersection om-branch-nodes-permitting-child-objects om-elements)
  (defconst om-branch-elements-permitting-child-objects (-intersection om-branch-nodes-permitting-child-objects om-elements) ("/Users/ndw/.emacs.d/straight/build/om/om.elc" . 741))
  require(om)
  eval((require (quote om)) nil)
  elisp--eval-last-sexp(t)
  eval-last-sexp(t)
  eval-print-last-sexp(nil)
  funcall-interactively(eval-print-last-sexp nil)
  call-interactively(eval-print-last-sexp nil nil)
  command-execute(eval-print-last-sexp)

The maintainer of straight.el says:

That is a bug in the package as far as I can tell. It should not be using eval-when-compile for that code. When I run make compile from the package's Makefile, then manually evaluate the resulting .elc files, I get the same error. Given that, I don't think the problem lies with straight.el.

Hope this is useful.

@ndwarshuis

This comment has been minimized.

Copy link
Owner

@ndwarshuis ndwarshuis commented Jan 21, 2020

This should fix it e51aa0b

@ndw

This comment has been minimized.

Copy link
Author

@ndw ndw commented Jan 21, 2020

Yep. Thanks!

@ndw ndw closed this Jan 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.