👩💻 Join our community of thousands of amazing developers!
Premise It takes too long to run emacs lisp functions with the usual syntax. Solution I create a new emacs REPL that enables me to run emacs commands in a far more efficient manner. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 (defun call-command-or-function (funcsym &rest body) (if (and (function-p funcsym) (commandp funcsym)) (if body (eval `(funcall-interactively funcsym ,@body)) (call-interactively funcsym)) (eval `(call-function funcsym ,@bod...