From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: [Patch] Remove obsolete function call and declaration Date: Wed, 30 Jun 2010 13:41:24 +0200 Message-ID: <87fx047nob.fsf@gmx.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from [140.186.70.92] (port=60451 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OTvfL-0004CB-2V for emacs-orgmode@gnu.org; Wed, 30 Jun 2010 07:41:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OTvfK-0006mT-0I for emacs-orgmode@gnu.org; Wed, 30 Jun 2010 07:41:18 -0400 Received: from mail.gmx.net ([213.165.64.20]:54190) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1OTvfJ-0006mA-Fx for emacs-orgmode@gnu.org; Wed, 30 Jun 2010 07:41:17 -0400 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: Emacs-orgmode mailing list --=-=-= 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. --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=org-protocol--remove-initialize-files-alist.patch 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 --=-=-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --=-=-=--