all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#12018: 24.1.50; Calendar HTML export breaks with no holidays in month
@ 2012-07-21 11:09 Rupert Swarbrick
  2012-08-01  7:16 ` Glenn Morris
  0 siblings, 1 reply; 2+ messages in thread
From: Rupert Swarbrick @ 2012-07-21 11:09 UTC (permalink / raw)
  To: 12018

[-- Attachment #1: Type: text/plain, Size: 488 bytes --]

Calling cal-html-cursor-month from a *Calendar* buffer using H-m
triggers an error in cal-html-insert-agenda-days (in
lisp/calendar/cal-html.el) if there are no holidays in the given
month. Since this is true for August, I've just triggered it!

The problem is the

    (and holiday-list diary-list "<BR>\n")

(line 399 in current trunk) inside an insert. (insert NIL) is not
ok. Changing the line to

    (if (and holiday-list diary-list) "<BR>\n" "")

Fixes the issue.

Thanks,

Rupert

[-- Attachment #2: Type: application/pgp-signature, Size: 315 bytes --]

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

* bug#12018: 24.1.50; Calendar HTML export breaks with no holidays in month
  2012-07-21 11:09 bug#12018: 24.1.50; Calendar HTML export breaks with no holidays in month Rupert Swarbrick
@ 2012-08-01  7:16 ` Glenn Morris
  0 siblings, 0 replies; 2+ messages in thread
From: Glenn Morris @ 2012-08-01  7:16 UTC (permalink / raw)
  To: 12018-done


Thanks; applied.





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

end of thread, other threads:[~2012-08-01  7:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-21 11:09 bug#12018: 24.1.50; Calendar HTML export breaks with no holidays in month Rupert Swarbrick
2012-08-01  7:16 ` Glenn Morris

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.