emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] [Patch] Remove obsolete function call and declaration


From: Carsten Dominik
Subject: Re: [Orgmode] [Patch] Remove obsolete function call and declaration
Date: Thu, 1 Jul 2010 15:47:57 +0200

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.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten






reply via email to

[Prev in Thread] Current Thread [Next in Thread]