diff options
| author | Craig Jennings <c@cjennings.net> | 2025-11-05 01:00:38 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2025-11-05 01:00:38 -0600 |
| commit | 312d7598385d6cd620e88852c9e47f74fc759c23 (patch) | |
| tree | aa5b8e8965960075231f9d36f8cff12a273f94d3 /early-init.el | |
| parent | e1eb6171c62821c295a76ba6bd3c280cc91a1e65 (diff) | |
| download | dotemacs-312d7598385d6cd620e88852c9e47f74fc759c23.tar.gz dotemacs-312d7598385d6cd620e88852c9e47f74fc759c23.zip | |
feat: Configure scratch buffer for org-mode with cursor at end
- Set initial-major-mode to org-mode for *scratch* buffer
- Add emacs-startup-hook to position cursor at end of buffer
- Update greeting message comment syntax from ;; to # for org-mode
- Re-enable debug flag reset on startup in early-init.el
This makes the scratch buffer immediately ready for org-mode note-taking
with cursor positioned for typing, eliminating manual mode switching and
cursor movement.
Diffstat (limited to 'early-init.el')
| -rw-r--r-- | early-init.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/early-init.el b/early-init.el index 6fa3e0b2a..c1cd54c8b 100644 --- a/early-init.el +++ b/early-init.el @@ -51,10 +51,10 @@ (setq debug-on-error t) ;; default nil. turn on to debug issues only. (setq debug-on-quit t) ;; debug on C-g (breaking out of hangs/freezes) -;; (add-hook 'emacs-startup-hook -;; (lambda () -;; (setq debug-on-error nil) -;; (setq debug-on-quit nil))) +(add-hook 'emacs-startup-hook + (lambda () + (setq debug-on-error nil) + (setq debug-on-quit nil))) ;; ------------------------------ Bug Workarounds ------------------------------ |
