[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What's wrong with this elisp code?
From: |
Jeff Miller |
Subject: |
Re: What's wrong with this elisp code? |
Date: |
03 Aug 2006 23:31:51 -0400 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Constant Variable) |
ken <gebser@speakeasy.net> writes:
> But I'm getting the error:
>
> Loading rng-auto.el (source)...
> Loading /usr/lib/emacs/21.3/i586-suse-linux/fns-21.3.1.el (source)...
> Preparing diary...
> Preparing diary...done
> Symbol's value as variable is void: diary-entries-list
I think this variable is only used inside of some let statements and
not available for general use.
If you use this in your emacs-diary-day.el, does it get you closer to
what you want?
(let* ((diary-display-hook 'fancy-diary-display)
(diary-list-include-blanks t)
(text (progn (list-diary-entries (calendar-current-date) 1)
(set-buffer fancy-diary-buffer)
(buffer-substring (point-min) (point-max)))))
(find-file "emacs-diary-day")
(erase-buffer)
(insert text))
(save-buffer)
--
Jeff Miller
jmiller@cablespeed.com
Message not available
- Re: What's wrong with this elisp code?,
Jeff Miller <=