emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [Patch] Remove obsolete function call and declaration
@ 2010-06-30 11:41 Sebastian Rose
  2010-07-01 13:47 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: Sebastian Rose @ 2010-06-30 11:41 UTC (permalink / raw)
  To: Emacs-orgmode mailing list

[-- Attachment #1: Type: text/plain, Size: 231 bytes --]

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.



[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: org-protocol--remove-initialize-files-alist.patch --]
[-- Type: text/x-diff, Size: 820 bytes --]

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?"

[-- Attachment #3: Type: text/plain, Size: 27 bytes --]



Best wishes

  Sebastian

[-- Attachment #4: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Patch] Remove obsolete function call and declaration
  2010-06-30 11:41 [Patch] Remove obsolete function call and declaration Sebastian Rose
@ 2010-07-01 13:47 ` Carsten Dominik
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2010-07-01 13:47 UTC (permalink / raw)
  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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-07-01 13:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-30 11:41 [Patch] Remove obsolete function call and declaration Sebastian Rose
2010-07-01 13:47 ` Carsten Dominik

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).