emacselisp

Emacs `t` letter at end of code


What is the t letter at the end of code is for ?

like here:

(load-theme 'seti t)

and here:

(global-linum-mode t)

Solution

  • In Emacs Lisp, non-nil value is treated as true, however, t is the preferred way to represent the truth value true. You will get the same result if you put 1 or hello instead of t.

    Perhaps you want to read 1.3.2 nil and t