[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: generation of tramp-loaddefs
From: |
Michael Albinus |
Subject: |
Re: generation of tramp-loaddefs |
Date: |
Mon, 13 Sep 2010 17:49:29 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Juanma Barranquero <address@hidden> writes:
> I'm porting this change to Windows:
>
> 2010-09-08 Michael Albinus <address@hidden>
>
> Migrate to Tramp 2.2. Rearrange load dependencies.
> (Bug#1529, Bug#5448, Bug#5705)
Thanks a lot!
> but AFAICS, this
>
> TRAMP_DIR = $(lisp)/net
> TRAMP_SRC = $(TRAMP_DIR)/tramp.el $(TRAMP_DIR)/tramp-cache.el \
> [... etc...]
>
> $(TRAMP_DIR)/tramp-loaddefs.el: $(TRAMP_SRC)
> $(emacs) -l autoload \
> --eval "(setq generate-autoload-cookie \";;;###tramp-autoload\")" \
> --eval "(setq generated-autoload-file \"address@hidden")" \
> --eval "(setq make-backup-files nil)" \
> -f batch-update-autoloads $(TRAMP_DIR)
>
> will update autoloads for *all* files in lisp/net/*, using
> $(TRAMP_DIR)/tramp-loaddefs.el as autoload file. Or am I missing
> something?
That's correct. But it doesn't hurt, because it uses the autoload cookie
";;;###tramp-autoload", which exists only in tramp-*.el files.
An alternative would be to introduce an own lisp/tramp subdirectory, but
Tramp does not reach the "20 files or up" count. Shall I continue to
split the files? :-)
> Juanma
Best regards, Michael.