new and impruved

This commit is contained in:
zastian@mrthoddata.com
2025-05-07 15:45:08 +01:00
commit bdf553079b
197 changed files with 5824 additions and 0 deletions

9
dots/doom/lisp/programs.el Executable file
View File

@@ -0,0 +1,9 @@
;;; ../../dotfiles/doom/.config/doom/lisp/programs.el -*- lexical-binding: t; -*-
;; make a function to run a program with a given name and arguments
(defun run-program (name &rest args)
(interactive)
(let ((program (executable-find name)))
(if program
(apply #'start-process name nil program args)
(error "Could not find program %s" name))))