Hi Achim, > Achim Gratz wrote: >> Based on that assumption, here's another patch. Let me know if this >> works in your setup. > > As you can see, that *does* work... Thanks a lot, Achim! > > Sebastien@MEDIACENTER:home/org-mode 0$ make autoloads > make -C lisp autoloads > make[1]: Entering directory `/cygdrive/c/home/org-mode/lisp' > rm -f org-version.el org-install.el org-version.elc org-install.elc > org-version: 7.8.10 (release_7.8.10-573-g7b33d9.dirty) > Loading c:/home/org-mode/lisp/org-compat.el (source)... > Loading c:/home/org-mode/UTILITIES/org-fixup.el (source)... > Saving file c:/home/org-mode/lisp/org-version.el... > Loading vc-git... > Wrote c:/home/org-mode/lisp/org-version.el > org-install: 7.8.10 (release_7.8.10-573-g7b33d9.dirty) > Loading c:/home/org-mode/lisp/org-compat.el (source)... > Loading c:/home/org-mode/UTILITIES/org-fixup.el (source)... > Generating autoloads for ob-C.el... > Generating autoloads for ob-C.el...done > [...] > Generating autoloads for org-compat.el... > Generating autoloads for org-compat.el...done > [...]
Though, after restarting Emacs, I do have: --8<---------------cut here---------------start------------->8--- File mode specification error: (void-function org-find-library-dir) --8<---------------cut here---------------end--------------->8--- I see that there is no autoload cookie for it in `org-compat.el': --8<---------------cut here---------------start------------->8--- (defun org-substring-no-properties (string &optional from to) ;; [...] (substring-no-properties string from to))) (defmacro org-find-library-dir (library) `(file-name-directory (locate-library ,library))) --8<---------------cut here---------------end--------------->8--- Can a macro be autoloaded as well? Best regards, Seb -- Sebastien Vauban