emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] [PATCH 1/2] Use `make-hash-table' to create hash table of org-


From: David Maus
Subject: [Orgmode] [PATCH 1/2] Use `make-hash-table' to create hash table of org-publish-cache.
Date: Fri, 14 May 2010 16:56:07 +0200

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




reply via email to

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