emacs-wiki-discuss
[Top][All Lists]
Advanced

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

[emacs-wiki-discuss] Planner: patch to planner-timeclock-summary.el to f


From: Chris Parsons
Subject: [emacs-wiki-discuss] Planner: patch to planner-timeclock-summary.el to fix p-t-s-day-range-entry
Date: Tue, 30 Aug 2005 10:43:53 +0100
User-agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)

Hi Planner types

Here's a patch to planner-timeclock-summary.el to allow it to take
 functions as an argument again. Found to be broken in planner-dev as of
Aug 26.

Chris

diff -u "c:/Program
Files/emacs/site-lisp/planner/planner-timeclock-summary.el~" "c:/Program
Files/emacs/site-lisp/planner/planner-timeclock-summary.el"
--- c:/Program
Files/emacs/site-lisp/planner/planner-timeclock-summary.el~     2005-08-26
09:26:35.828125000 +0100
+++ c:/Program
Files/emacs/site-lisp/planner/planner-timeclock-summary.el      2005-08-30
10:40:47.687500000 +0100
@@ -176,7 +176,7 @@
                      (planner-timeclock-within-date-range start-date
end-date (car day))))
         (setq entry-list (append (cddr day) entry-list))))
     (unless (or (null filter)
-                (string= filter ""))
+                (and (not (functionp filter)) (string= filter "")))
       (setq entry-list
             (delq nil
                   (mapcar

Diff finished.  Tue Aug 30 10:41:19 2005


-- 
Chris Parsons
address@hidden




reply via email to

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