[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(diary-mail-entries 2) improperly uses diary-mail-days

From: Tim Hesterberg
Subject: (diary-mail-entries 2) improperly uses diary-mail-days
Date: Thu, 18 Jan 2001 09:38:03 -0800

In GNU Emacs 20.5.1 (i386-redhat-linux-gnu, X toolkit)
 of Mon Feb 21 2000 on porky.devel.redhat.com
configured using `configure  --prefix=/usr --libexecdir=/usr/lib 
--sharedstatedir=/var --with-gcc --with-pop --with-x-toolkit 

I'm using a version of diary-lib.el with these copyrights:
;; Copyright (C) 1989, 1990, 1992, 1993, 1994, 1995 Free Software
(I believe this came with emacs 20.5.1.)


When I include a line like this in my .emacs, or just evaluate it:
        (diary-mail-entries 2)
it ignores the value 2, and sends me notification of events for the next
7 days (the value of diary-mail-days).

I believe the fix is to change diary-mail-entries in two ways:
(1) Use
          (interactive "P")
instead of
          (interactive "p")

(2) Change
    (if (not current-prefix-arg)
        (setq ndays diary-mail-days))
    (if (not ndays)
        (setq ndays diary-mail-days))

Tim Hesterberg

reply via email to

[Prev in Thread] Current Thread [Next in Thread]