diff options
author | Ulrich Müller <ulm@gentoo.org> | 2007-05-26 08:34:08 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2007-05-26 08:34:08 +0000 |
commit | 3adf628d12fde8f8e7c56188e1047809de7b15a2 (patch) | |
tree | 3665ae62df109897b0270d937c99771571fb3688 /eclass | |
parent | Revision bump into p.masked version to test unapplied upstream patch. (diff) | |
download | gentoo-2-3adf628d12fde8f8e7c56188e1047809de7b15a2.tar.gz gentoo-2-3adf628d12fde8f8e7c56188e1047809de7b15a2.tar.bz2 gentoo-2-3adf628d12fde8f8e7c56188e1047809de7b15a2.zip |
Add some comments and local variables to generated autoload file.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/elisp-common.eclass | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/eclass/elisp-common.eclass b/eclass/elisp-common.eclass index dfb2d3ca5524..afc1e499ada9 100644 --- a/eclass/elisp-common.eclass +++ b/eclass/elisp-common.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/elisp-common.eclass,v 1.20 2007/04/29 12:59:39 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/elisp-common.eclass,v 1.21 2007/05/26 08:34:08 ulm Exp $ # # Copyright 2007 Christian Faulhammer <opfer@gentoo.org> # Copyright 2002-2007 Matthew Kennedy <mkennedy@gentoo.org> @@ -118,7 +118,22 @@ elisp-compile() { elisp-make-autoload-file () { local f="${1:-${PN}-autoloads.el}" shift - echo >"${f}" + sed 's/^FF/\f/' >"${f}" <<-EOF + ;;; ${f##*/} --- autoloads for ${P} + + ;;; Commentary: + ;; Automatically generated by elisp-common.eclass + ;; DO NOT EDIT THIS FILE + + ;;; Code: + FF + ;; Local Variables: + ;; version-control: never + ;; no-byte-compile: t + ;; no-update-autoloads: t + ;; End: + ;;; ${f##*/} ends here + EOF emacs --batch -q --no-site-file \ --eval "(setq make-backup-files nil)" \ --eval "(setq generated-autoload-file (expand-file-name \"${f}\"))" \ |