Remove obsolete function call and declaration

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.
Best wishes

  Sebastian
This commit is contained in:
Sebastian Rose 2010-06-30 16:41:24 +00:00 committed by Carsten Dominik
parent 14f05b4461
commit 0a99122943
1 changed files with 0 additions and 3 deletions

View File

@ -126,8 +126,6 @@
(eval-when-compile (eval-when-compile
(require 'cl)) (require 'cl))
(declare-function org-publish-initialize-files-alist "org-publish"
(&optional refresh))
(declare-function org-publish-get-project-from-filename "org-publish" (declare-function org-publish-get-project-from-filename "org-publish"
(filename &optional up)) (filename &optional up))
(declare-function server-edit "server" (&optional arg)) (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." most of the work."
(interactive) (interactive)
(require 'org-publish) (require 'org-publish)
(org-publish-initialize-files-alist)
(let ((all (or (org-publish-get-project-from-filename buffer-file-name)))) (let ((all (or (org-publish-get-project-from-filename buffer-file-name))))
(if all (org-protocol-create (cdr all)) (if all (org-protocol-create (cdr all))
(message "Not in an org-project. Did mean %s?" (message "Not in an org-project. Did mean %s?"