From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?q?Peter=20M=C3=BCnster?= Subject: [PATCH 2/2] org-notify: Fix compatibility with latest org-element (uppercase properties) Date: Tue, 18 Jun 2013 22:22:30 +0200 Message-ID: <1371586950-20217-2-git-send-email-pmlists@free.fr> References: <1371586950-20217-1-git-send-email-pmlists@free.fr> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52127) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Up2PG-0000J8-5B for emacs-orgmode@gnu.org; Tue, 18 Jun 2013 16:21:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Up2PD-0000M2-E4 for emacs-orgmode@gnu.org; Tue, 18 Jun 2013 16:21:34 -0400 Received: from smtp01.smtpout.orange.fr ([80.12.242.123]:54326 helo=smtp.smtpout.orange.fr) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Up2PD-0000Ly-83 for emacs-orgmode@gnu.org; Tue, 18 Jun 2013 16:21:31 -0400 In-Reply-To: <1371586950-20217-1-git-send-email-pmlists@free.fr> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org * contrib/lisp/org-notify.el (org-notify-make-todo): Properties from org-element are all uppercase now. --- contrib/lisp/org-notify.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/lisp/org-notify.el b/contrib/lisp/org-notify.el index 3019852..dd4100d 100644 --- a/contrib/lisp/org-notify.el +++ b/contrib/lisp/org-notify.el @@ -120,7 +120,7 @@ simple timestamp string." "Create one todo item." (cl-macrolet ((get (k) `(plist-get list ,k)) (pr (k v) `(setq result (plist-put result ,k ,v)))) - (let* ((list (nth 1 heading)) (notify (or (get :notify) "default")) + (let* ((list (nth 1 heading)) (notify (or (get :NOTIFY) "default")) (deadline (org-notify-convert-deadline (get :deadline))) (heading (get :raw-value)) result) -- 1.8.1.4