diff options
| author | Craig Jennings <c@cjennings.net> | 2025-11-02 00:14:24 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2025-11-02 00:14:24 -0500 |
| commit | e286f96d1d8f1aeaeabb0eaa691ea68552783f58 (patch) | |
| tree | f94a053fa7899312441b4125bcf84deac6f61961 /modules/keybindings.el | |
| parent | 66e8845cd93562074d03ab4826d59524a3f34cb5 (diff) | |
| download | dotemacs-e286f96d1d8f1aeaeabb0eaa691ea68552783f58.tar.gz dotemacs-e286f96d1d8f1aeaeabb0eaa691ea68552783f58.zip | |
fix: Resolve void-variable and void-function errors on first launch
Fixed two critical bugs preventing Emacs from launching after fresh clone:
1. prog-go.el: Moved go-ts-mode-map keybinding from :bind clause
- The :bind macro tried to reference go-ts-mode-map before it was loaded
- Moved "C-; f" gofmt binding into cj/go-mode-keybindings function
- Function executes via hook after mode loads, ensuring keymap exists
2. org-config.el: Moved function definitions before use-package block
- cj/org-general-settings, cj/org-appearance-settings, and
cj/org-todo-settings were called in :config but defined after
- Moved all three function definitions before (use-package org)
- Functions now defined before :config section tries to call them
Both fixes follow the pattern of ensuring dependencies exist before use.
Diffstat (limited to 'modules/keybindings.el')
0 files changed, 0 insertions, 0 deletions
