From mboxrd@z Thu Jan 1 00:00:00 1970 From: Florian Beck Subject: [PATCH] Fix error when inserting into diary from agenda Date: Sat, 15 Nov 2014 19:28:02 +0100 Message-ID: <87h9y0s4i5.fsf@sophokles.streitblatt.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37536) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XpiB5-00010I-5s for emacs-orgmode@gnu.org; Sat, 15 Nov 2014 13:34:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XpiB0-0000wC-62 for emacs-orgmode@gnu.org; Sat, 15 Nov 2014 13:34:31 -0500 Received: from mo6-p00-ob.smtp.rzone.de ([2a01:238:20a:202:5300::12]:21011) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XpiAz-0000vF-Kl for emacs-orgmode@gnu.org; Sat, 15 Nov 2014 13:34:25 -0500 Received: from sophocles (ip-77-24-176-207.web.vodafone.de [77.24.176.207]) by smtp.strato.de (RZmta 35.11 DYNA|AUTH) with ESMTPSA id 603859qAFIS8BXA (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) for ; Sat, 15 Nov 2014 19:28:08 +0100 (CET) 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 --=-=-= Content-Type: text/plain Hi, emacs trunk dropped some old aliases. This patch fixes it. -- Florian Beck --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0009-Replace-obsolete-aliases-of-calendar-functions.patch >From e2188e0fb3fe322146a9950bfff74773dd54018a Mon Sep 17 00:00:00 2001 From: Florian Beck Date: Sat, 15 Nov 2014 19:14:27 +0100 Subject: [PATCH 9/9] Replace obsolete aliases of calendar functions. * lisp/org-agenda.el (org-agenda-diary-entry): Replace obsolete functions. --- lisp/org-agenda.el | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 97970a6..2b5a8ec 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -9526,13 +9526,13 @@ entries in that Org-mode file." (message "Diary entry: [d]ay [w]eekly [m]onthly [y]early [a]nniversary [b]lock [c]yclic") (read-char-exclusive))) (cmd (cdr (assoc char - '((?d . insert-diary-entry) - (?w . insert-weekly-diary-entry) - (?m . insert-monthly-diary-entry) - (?y . insert-yearly-diary-entry) - (?a . insert-anniversary-diary-entry) - (?b . insert-block-diary-entry) - (?c . insert-cyclic-diary-entry))))) + '((?d . diary-insert-entry) + (?w . diary-insert-weekly-entry) + (?m . diary-insert-monthly-entry) + (?y . diary-insert-yearly-entry) + (?a . diary-insert-anniversary-entry) + (?b . diary-insert-block-entry) + (?c . diary-insert-cyclic-entry))))) (oldf (symbol-function 'calendar-cursor-to-date)) ;; (buf (get-file-buffer (substitute-in-file-name diary-file))) (point (point)) -- 1.9.1 --=-=-=--