• [object Object]@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        edit-2
        5 days ago

        In Emacs Lisp, you use one of these two:

        (defun funcname (arg1 arg2) (+ arg1 arg2))

        (lambda (arg1 arg2) (+ arg1 arg2))

        — with the latter typically being an argument to another function or macro.