[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: non nil?
Re: non nil?
08 Sep 2002 22:52:12 +0200
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
> I think I do have a silly question here - but since I am not a techguy I
> don't hesitate to ask anyway :-))
> I am about to customize my diary and came across a part of the
> "If the variable `cal-tex-diary' is non-`nil' (the default is `nil'),
> diary entries are included also (in weekly and monthly calendars
> If I want to have the diary entries printed with the latex-calender I am
> to declare
> (setq cal-tex-diary t)
> in the .emacs file?
I'm not familiar with the diary, but if I understand you correctly,
you would like to know if t is non-nil. Yes, it is. In (Emacs) Lisp,
variables can hold a lot different object. One of those objects, nil,
is considered special. All other values are said to be non-nil. If
you would like a variable to be anything but nil, you usually set it
to t, but any other value like the number 5, or the symbol 'blackbird
would do as well. Incidentally, nil is exactly the same as the empty
(spook) => "beanpole Roswell hackers"
(insert-file-contents "~/.signature") => (error "`~/.signature' too rude")
- non nil?, Raimund . Kohl, 2002/09/07
- Re: non nil?,
Lute Kamstra <=