• SlurpingPus@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      18 minutes 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.