(no title)
phba | 5 months ago
init.el:
(defgroup mystuff nil
"A custom group for all my settings."
:group 'mystuff)
(defcustom mystuff/org t
"Feature flag for my org-mode settings."
:type '(choice (const :tag "Enabled" t)
(const :tag "Disabled" nil))
:group 'mystuff)
(when mystuff/org
(require mystuff-org))
mystuff-org.el (somewhere in your load path): ;; Elisp code related to org-mode...
(provide 'mystuff-org)
With M-x customize-group RET mystuff you can control which tweaks are active.
Simple, flexible and maintainable.
No comments yet.