Shae Erisson on Nostr: I'm using #emacs as a systemd service. Every time I restarted the service I had to ...
I'm using #emacs as a systemd service. Every time I restarted the service I had to manually set my font and org-bullets hooks after opening the first client frame.
After months of poking at this once a week, I found that the SECOND MESSAGE has the answer I need. I just hadn't read that far down.
https://emacsredux.com/blog/2022/06/03/detecting-whether-emacs-is-running-in-terminal-or-gui-mode/
(add-hook 'server-after-make-frame-hook
`(lambda () (add-hook 'org-mode-hook (lambda () (org-bullets-mode 1)))))
After months of poking at this once a week, I found that the SECOND MESSAGE has the answer I need. I just hadn't read that far down.
https://emacsredux.com/blog/2022/06/03/detecting-whether-emacs-is-running-in-terminal-or-gui-mode/
(add-hook 'server-after-make-frame-hook
`(lambda () (add-hook 'org-mode-hook (lambda () (org-bullets-mode 1)))))