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

Error when running the suggested config #149

Open
chookity-pokk opened this issue Aug 29, 2023 · 0 comments
Open

Error when running the suggested config #149

chookity-pokk opened this issue Aug 29, 2023 · 0 comments
Labels

Comments

@chookity-pokk
Copy link

chookity-pokk commented Aug 29, 2023

I downloaded the package and put the suggested config in my init and when executing it I got the below error.

Debugger entered--Lisp error: (void-function add-to-hook)
  (add-to-hook 'find-file-hook #'(lambda nil (if (and (boundp 'conda-project-env-path) conda-project-env-path) (progn (conda-env-activate-for-buffer)))))
  eval((add-to-hook 'find-file-hook #'(lambda nil (if (and (boundp 'conda-project-env-path) conda-project-env-path) (progn (conda-env-activate-for-buffer))))) nil)
  elisp--eval-last-sexp(nil)
  eval-last-sexp(nil)
  funcall-interactively(eval-last-sexp nil)
  call-interactively(eval-last-sexp nil nil)
  command-execute(eval-last-sexp)

If I remove the add-to-hook then it runs just fine.

OS:
MacOS 13.5.1

Emacs version
29.1

@necaris necaris added the bug label Oct 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants