For instance, global-linum-mode 1 enables line numbers global-linum-mode 0 disables line numbers, what global-linum-mode t would do? and I've seen another parameter: nil. What do they do?
views:
78answers:
2
+3
A:
t and nil in boolean context are the (Emacs) Lisp truth values. nil is false. Any non-nil value is considered to be true, but t is customarily used. Source.
As for global-linum-mode, any non-negative parameter will enable it, including t, "foo",... etcetera.
For such questions it is very useful to play in the scratch buffer with elisp: type your expression there and press C-j.
Laurynas Biveinis
2010-01-09 21:45:36