chenyanming / paw

Emacs Annotation and Language Learning tool.
70 stars 3 forks source link

Unable to install in doom emacs: Eager macro-expansion failure: (void-function evil-define-key) #1

Closed johanwiden closed 3 months ago

johanwiden commented 3 months ago

When I add (package! pen :recipe (:host github :repo "chenyanming/pen")) to packages.el and then run "doom sync" I get an error message that evil-define-key is undefined. I suspect that there is a missing (require 'evil-core) in one of pen's .el files. evil-define-key i used in pen.el, pen-annotation.el and pen-note.el, but only pen.el has a require for evil-core.

chenyanming commented 3 months ago

Let me make it optional.

chenyanming commented 3 months ago

Ok now~

johanwiden commented 3 months ago

Yes, now I am able to install pen in doom emacs. Thanks for the quick response.

Den tis 4 juni 2024 kl 15:31 skrev Damon Chan @.***>:

Ok now~

— Reply to this email directly, view it on GitHub https://github.com/chenyanming/pen/issues/1#issuecomment-2147545691, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOF7OI54X7ZGBNLECLASN3ZFW6TRAVCNFSM6AAAAABIYNNLTSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBXGU2DKNRZGE . You are receiving this because you authored the thread.Message ID: @.***>

-- Johan Widén, tel: +46705367346 Risvägen 5 A, 192 73 Sollentuna, SWEDEN