diff options
author | Ulrich Müller <ulm@gentoo.org> | 2008-01-08 19:44:12 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2008-01-08 19:44:12 +0000 |
commit | f2b44c123792f2221042d64f0b1767368ef4ae3a (patch) | |
tree | 23ce6f269e371ea253ae0e9afe31dd956128d553 /app-emacs/emacs-wiki-blog/files | |
parent | Stable for HPPA (bug #204189). (diff) | |
download | gentoo-2-f2b44c123792f2221042d64f0b1767368ef4ae3a.tar.gz gentoo-2-f2b44c123792f2221042d64f0b1767368ef4ae3a.tar.bz2 gentoo-2-f2b44c123792f2221042d64f0b1767368ef4ae3a.zip |
Use autoload mechanism in site-init file.
(Portage version: 2.1.4_rc14)
Diffstat (limited to 'app-emacs/emacs-wiki-blog/files')
-rw-r--r-- | app-emacs/emacs-wiki-blog/files/90emacs-wiki-blog-gentoo.el | 17 | ||||
-rw-r--r-- | app-emacs/emacs-wiki-blog/files/digest-emacs-wiki-blog-0.4-r1 (renamed from app-emacs/emacs-wiki-blog/files/digest-emacs-wiki-blog-0.4) | 0 |
2 files changed, 12 insertions, 5 deletions
diff --git a/app-emacs/emacs-wiki-blog/files/90emacs-wiki-blog-gentoo.el b/app-emacs/emacs-wiki-blog/files/90emacs-wiki-blog-gentoo.el index 1e07951eae9c..9c3b97026ef6 100644 --- a/app-emacs/emacs-wiki-blog/files/90emacs-wiki-blog-gentoo.el +++ b/app-emacs/emacs-wiki-blog/files/90emacs-wiki-blog-gentoo.el @@ -2,11 +2,18 @@ ;;; emacs-wiki-blog site-lisp configuration (add-to-list 'load-path "@SITELISP@") -(load-library "emacs-wiki-blog") -(load-library "latex2png") -(load-library "plog") +(autoload 'emacs-wiki-blog-last-n-entries "emacs-wiki-blog") +(autoload 'emacs-wiki-blog-generate-calendar "emacs-wiki-blog") +(autoload 'emacs-wiki-blog-generate-archives "emacs-wiki-blog") +(autoload 'ewb-publish-rss "emacs-wiki-blog") +(autoload 'gs-latex-tag "latex2png") +(autoload 'latex2png "latex2png") +(autoload 'gs-emacs-wiki-thumbnail-tag "plog") -(push '("latex" t t t gs-latex-tag) emacs-wiki-markup-tags) -(push '("thumb" t t t gs-emacs-wiki-thumbnail-tag) emacs-wiki-markup-tags) +(eval-after-load "emacs-wiki-colors" + '(progn + (add-to-list 'emacs-wiki-markup-tags '("latex" t t t gs-latex-tag)) + (add-to-list 'emacs-wiki-markup-tags + '("thumb" t t t gs-emacs-wiki-thumbnail-tag)))) (setq gs-latex2png-scale-factor 2.5) diff --git a/app-emacs/emacs-wiki-blog/files/digest-emacs-wiki-blog-0.4 b/app-emacs/emacs-wiki-blog/files/digest-emacs-wiki-blog-0.4-r1 index b6370631889a..b6370631889a 100644 --- a/app-emacs/emacs-wiki-blog/files/digest-emacs-wiki-blog-0.4 +++ b/app-emacs/emacs-wiki-blog/files/digest-emacs-wiki-blog-0.4-r1 |