[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 22:34:11 +0800 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (berkeley-unix) |
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: "
======================================================================
--
Cheers,
Dryice
http://dryice.3322.org
- [emacs-wiki-discuss] [patch] planner-deadline.el,
Dryice Liu <=