Dear all, I use org-mode to publish my web site that I update every now and then. The site contains my lectures, and indeed I am preparing my lecture for tomorrow. Unfortunately, while publishing the site using the usual procedure, I get the infamous error
Symbol's value as variable is void: overlays For publishing, I run emacs in batch mode from a makefile as follows: emacs --batch -l batch_project.el --kill and my batch_project.el is attached. I cannot attach a minimal file that produces the error, because I find it difficult to come up with a minimal example. All I can say is that the error is produced after many .org files have been correctly processed. Everything used to work until a few months ago. Last week I switched to the latest version of emacs from the git repo, and today I get the error. Maybe I should clean some cache? Or change the configuration of the project? Can someone suggest me any direction where I should look into? Thanks in advance Giuseppe Lipari
(add-to-list 'load-path "~/elisp/org-mode.old/lisp") (add-to-list 'load-path "~/elisp/org-mode.old/contrib/lisp") (add-to-list 'load-path "~/elisp/emacs-htmlize") (require 'org) (require 'htmlize) (setq c-standard-font-lock-fontify-region-function 'font-lock-default-fontify-region) (setq org-export-backends (quote (ascii html))) (org-babel-do-load-languages 'org-babel-load-languages '((dot . t) (emacs-lisp . t) (python . t) (ditaa . t) (sh . t))) (custom-set-variables '(org-confirm-babel-evaluate nil)) (require 'ox-publish) (org-babel-lob-ingest "~/Documents/www/org-web/org-code/navbar-code.org") (setq org-publish-project-alist '( ("org-notes" :base-directory "~/Documents/www/org-web/" :base-extension "org" :publishing-directory "~/Documents/www/public_html" :recursive t :publishing-function org-html-publish-to-html :headline-levels 5 ; Just the default for this project. :auto-preamble t ) ("org-static" :base-directory "~/Documents/www/org-web/" :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf\\|config\\|sh\\|zip\\|c\\|h" :publishing-directory "~/Documents/www/public_html" :recursive t :publishing-function org-publish-attachment ) ("org" :components ("org-notes" "org-static")) ;; ... add all the components here (see below)... )) (org-publish-remove-all-timestamps) (org-publish-project "org")