What is Nostr?
Shae Erisson /
npub1ccp…qzpx
2024-10-16 18:59:38

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)))))
Author Public Key
npub1ccpd02f2znah0a02evs3wwmyxg0w3uhvvu8rxg05d7mh5eewawsq55qzpx