From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Maus Subject: [PATCH 1/2] Use `make-hash-table' to create hash table of org-publish-cache. Date: Fri, 14 May 2010 16:56:07 +0200 Message-ID: <1273848968-3834-2-git-send-email-dmaus@ictsoc.de> References: Return-path: Received: from [140.186.70.92] (port=59429 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OCwJt-0001Vh-JJ for emacs-orgmode@gnu.org; Fri, 14 May 2010 10:57:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OCwJq-000770-CT for emacs-orgmode@gnu.org; Fri, 14 May 2010 10:56:57 -0400 Received: from mysql1.xlhost.de ([213.202.242.106]:50129) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OCwJq-00076o-44 for emacs-orgmode@gnu.org; Fri, 14 May 2010 10:56:54 -0400 In-Reply-To: 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@gnu.org --- lisp/org-publish.el | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lisp/org-publish.el b/lisp/org-publish.el index 7a2f3c3..c35e3f4 100644 --- a/lisp/org-publish.el +++ b/lisp/org-publish.el @@ -937,7 +937,7 @@ and return it." (if cexists (load-file cache-file)) (unless org-publish-cache (setq org-publish-cache - #s(hash-table test equal weakness nil size 100 data ())) + (make-hash-table :test 'equal :weakness nil :size 100)) (org-publish-cache-set ":project:" project-name) (org-publish-cache-set ":cache-file:" cache-file org-publish-cache)) (unless cexists (org-publish-write-cache-file nil)))) -- 1.7.1