all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* non nil?
@ 2002-09-07 15:49 Raimund.Kohl
  0 siblings, 0 replies; 2+ messages in thread
From: Raimund.Kohl @ 2002-09-07 15:49 UTC (permalink / raw)


Hi,

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
documentarey:

   "If the variable `cal-tex-diary' is non-`nil' (the default is `nil'),
    diary entries are included also (in weekly and monthly calendars
    only)."

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?

Thank you, ray

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: non nil?
       [not found] <mailman.1031413927.1847.help-gnu-emacs@gnu.org>
@ 2002-09-08 20:52 ` Lute Kamstra
  0 siblings, 0 replies; 2+ messages in thread
From: Lute Kamstra @ 2002-09-08 20:52 UTC (permalink / raw)


Raimund.Kohl@freenet.de writes:

> 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
> documentarey:
> 
>    "If the variable `cal-tex-diary' is non-`nil' (the default is `nil'),
>     diary entries are included also (in weekly and monthly calendars
>     only)."
> 
> 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
list '().

Lute.

-- 
(spook) => "beanpole Roswell hackers"
(insert-file-contents "~/.signature") => (error "`~/.signature' too rude")

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-09-08 20:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.1031413927.1847.help-gnu-emacs@gnu.org>
2002-09-08 20:52 ` non nil? Lute Kamstra
2002-09-07 15:49 Raimund.Kohl

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.