New answers tagged

2 votes
Accepted

Installing a package with `straight` fails with the error `"use-package: Unrecognized keyword: :straight"`

"use-package: Unrecognized keyword: :straight" (The problem has nothing to do with platform (x86, droid etc)) Turn on straight-use-package-mode . IOW, use this instead of (straight-use-...
mxnt's user avatar
  • 674
0 votes
Accepted

before-save-hook not working with use-package and custom mode

This needs to be configured via kage-mode-hook. This is the fixed mode: (define-derived-mode kage-mode go-mode "Kage shader script" "Kage mode is a major mode for editing Ebitengine ...
Tom's user avatar
  • 45
0 votes

before-save-hook not working with use-package and custom mode

I don't know anything about use-package, but I imagine it evaluates the :init form exactly once, and yet you're passing LOCAL to add-hook in that init form. I imagine that's a mistake and the cause ...
phils's user avatar
  • 51.1k

Top 50 recent answers are included