At Wed, 08 Dec 2010 10:06:19 +0100,
Dr. Volker Zell wrote:
Hi
Under xemacs when calling the following from org-mode-7.3 I get:
(require 'org-install) - Wrong number of arguments: custom-autoload, 3
This is because xemacs defines custom-autoload only with two arguments:
`custom-autoload' is a compiled Lisp function
-- loaded from
/misc/src/release/xemacs-21.5.28-3/src/xemacs-21.5.28/lisp/custom.elc
(custom-autoload SYMBOL LOAD)
Documentation:
Mark SYMBOL as autoloaded custom variable and add dependency LOAD.
This is a problem, indeed: The autoloads in org-install.el are
generated by the Makefile (i.e. make org-install.el). The stable
version of Org mode ships with a pre-generated org-install.el and
without recreating this file with Xemacs it won't run.
The =custom-autoload= is created only once for ob-tangle.el:
,
| ;;;###autoload
| (defcustom org-babel-tangle-lang-exts
| '((emacs-lisp . el))
| Alist mapping languages to their file extensions.
| The key is the language name, the value is the string that should
| be inserted as the extension commonly used to identify files
| written in this language. If no entry is found in this list,
| then the name of the language is used.
| :group 'org-babel-tangle
| :type '(repeat
| (cons
|(string Language name)
|(string File Extension
`
As this the autoload directive was added deliberately I suppose there
was a reason for this to be there: If this is the case, there seems
not very much we can do about this. The autoload generating function
in =autoloads.el= always creates a call to custom-autoload with a
third argument.
Best,
-- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de
pgpd1cRnZX7mL.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode