From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: [Patch] Remove obsolete function call and declaration Date: Thu, 1 Jul 2010 15:47:57 +0200 Message-ID: References: <87fx047nob.fsf@gmx.de> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=60260 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OUK7X-0000Ii-J9 for emacs-orgmode@gnu.org; Thu, 01 Jul 2010 09:48:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OUK7W-0001Co-7U for emacs-orgmode@gnu.org; Thu, 01 Jul 2010 09:48:03 -0400 Received: from mail-ew0-f41.google.com ([209.85.215.41]:53303) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OUK7W-0001Cb-24 for emacs-orgmode@gnu.org; Thu, 01 Jul 2010 09:48:02 -0400 Received: by ewy28 with SMTP id 28so916959ewy.0 for ; Thu, 01 Jul 2010 06:48:01 -0700 (PDT) In-Reply-To: <87fx047nob.fsf@gmx.de> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Sebastian Rose Cc: Emacs-orgmode mailing list Applied, thanks. - Carsten On Jun 30, 2010, at 1:41 PM, Sebastian Rose wrote: > This patch removes an obsolete declaration and call of the function > `org-publish-initialize-files-alist' from org-protocol.el. > > This function does not exist anymore. It was removed when we > implemented the new publishing cache. > > > diff --git a/lisp/org-protocol.el b/lisp/org-protocol.el > index a02a170..cdfbf10 100644 > --- a/lisp/org-protocol.el > +++ b/lisp/org-protocol.el > @@ -126,8 +126,6 @@ > (eval-when-compile > (require 'cl)) > > -(declare-function org-publish-initialize-files-alist "org-publish" > - (&optional refresh)) > (declare-function org-publish-get-project-from-filename "org-publish" > (filename &optional up)) > (declare-function server-edit "server" (&optional arg)) > @@ -647,7 +645,6 @@ This works, if the file visited is part of a > publishing project in > most of the work." > (interactive) > (require 'org-publish) > - (org-publish-initialize-files-alist) > (let ((all (or (org-publish-get-project-from-filename buffer-file- > name)))) > (if all (org-protocol-create (cdr all)) > (message "Not in an org-project. Did mean %s?" > > > Best wishes > > Sebastian > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten