[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[emacs-wiki-discuss] [patch] planner-deadline.el
From: |
Dryice Liu |
Subject: |
[emacs-wiki-discuss] [patch] planner-deadline.el |
Date: |
Sat, 22 Jan 2005 16:32:36 +0800 |
With this small patch, `planner-deadline-change' can be used to add
deadline to a task(which originally don't have a deadline).
======================================================================
--- planner-deadline.el.orig Wed Jan 12 22:00:34 2005
+++ planner-deadline.el Wed Jan 19 11:02:49 2005
@@ -117,7 +117,8 @@
(description (planner-task-description info))
new-description)
(if (string-match planner-deadline-regexp description)
- (setq new-description (replace-match "" t t description)))
+ (setq new-description (replace-match "" t t description))
+ (setq new-description description))
(if date
(planner-edit-task-description (concat new-description
"{{Deadline: "
======================================================================