UP | HOME

Elisp progn keyword

The progn statement causes each of its arguments to be evaluated in sequence and returns the value of the last one.

(progn
  (+ a b)
  (* 4 2))
;; return: 8

Read more here: https://www.gnu.org/software/emacs/manual/html_node/elisp/Sequencing.html

Date: 2019-01-30 Wed 00:00

Author: Huy Tran

Created: 2019-04-22 Mon 14:41