Files
sydnix/users/crumb/programs/emacs/lib/syd-prelude.el
Madeleine Sydney 9bb1534b68 feat: REPLs, by major mode, by project
Also includes Doom's popup code. }:)
2025-01-29 13:01:48 -07:00

21 lines
626 B
EmacsLisp
Executable File

;;; syd-prelude.el -*- lexical-binding: t; -*-
(eval-when-compile (require 'cl-lib))
(require 'syd-constants)
(cl-defmacro syd-define-stub
(name &key (desc "implement me!") interactive)
(let ((todo (format "%s: TODO: %s" name desc)))
`(defun ,name (&rest _)
,@(if interactive (list '(interactive)) nil)
,todo
(error ,todo))))
;; `on.el' provies a collection of utility hooks and functions ported from Doom
;; Emacs. The hooks make it easier to speed up Emacs startup by providing
;; finer-grained control of the timing at which packages are loaded.
(use-package on)
(provide 'syd-prelude)