Dear All,

I noticed a tiny bug in planner-timeclock-summary-proj.el where
a string-match failed if timeclock entries had no 'ProjectName:'.

I suggest the following fix:

*** /usr/pkg/share/emacs/site-lisp/planner/planner-timeclock-summary-proj.el    
Thu Apr 27 17:28:24 2006
--- /home/marko/tmp/planner-timeclock-summary-proj.el   Thu Aug 17 11:53:10 2006
***************
*** 192,198 ****
        (while entry-list
          (let* ((proj (car entry-list))
                 (proj-entry-name (car proj)))
!           (if (and proj-name
                     (string-match (concat "^\\[\\[" proj-name "\\]\\]")
                                   proj-entry-name))
                (if projects
--- 192,198 ----
        (while entry-list
          (let* ((proj (car entry-list))
                 (proj-entry-name (car proj)))
!           (if (and proj-name proj-entry-name
                     (string-match (concat "^\\[\\[" proj-name "\\]\\]")
                                   proj-entry-name))
                (if projects

Best regards,

Marko

Attachment: pgpRYRIglFG58.pgp
Description: PGP signature

_______________________________________________
emacs-wiki-discuss mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/emacs-wiki-discuss

Reply via email to