diff options
author | Ulrich Müller <ulm@gentoo.org> | 2009-10-08 10:50:35 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2009-10-08 10:50:35 +0000 |
commit | f737dc1bbc09b87729250496d2b4b3c57049c9b1 (patch) | |
tree | 2b83304df3621afc4719f8598be68c4316bef1cf /eclass/elisp-common.eclass | |
parent | Version bump, adds stability & build fixes compared to the earlier beta. (diff) | |
download | historical-f737dc1bbc09b87729250496d2b4b3c57049c9b1.tar.gz historical-f737dc1bbc09b87729250496d2b4b3c57049c9b1.tar.bz2 historical-f737dc1bbc09b87729250496d2b4b3c57049c9b1.zip |
Sync from Emacs overlay (revision 1453).
elisp.eclass:
Generate Info files from Texinfo sources listed in ELISP_TEXINFO.
elisp-common.eclass:
Mark site-gentoo.el as buffer-read-only, in order to prevent
unintentional edits. Add null strings to inhibit local variables
detection in the eclass file itself.
Diffstat (limited to 'eclass/elisp-common.eclass')
-rw-r--r-- | eclass/elisp-common.eclass | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/eclass/elisp-common.eclass b/eclass/elisp-common.eclass index e308b6432270..a7c574a29ce6 100644 --- a/eclass/elisp-common.eclass +++ b/eclass/elisp-common.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/elisp-common.eclass,v 1.61 2009/05/25 16:25:32 fauli Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/elisp-common.eclass,v 1.62 2009/10/08 10:50:35 ulm Exp $ # # Copyright 2002-2004 Matthew Kennedy <mkennedy@gentoo.org> # Copyright 2003 Jeremy Maitin-Shepard <jbms@attbi.com> @@ -196,11 +196,11 @@ elisp-emacs-version() { # Generate a file with autoload definitions for the lisp functions. elisp-make-autoload-file() { - local f="${1:-${PN}-autoloads.el}" + local f="${1:-${PN}-autoloads.el}" null="" page=$'\f' shift ebegin "Generating autoload file for GNU Emacs" - sed 's/^FF/\f/' >"${f}" <<-EOF + cat >"${f}" <<-EOF ;;; ${f##*/} --- autoloads for ${P} ;;; Commentary: @@ -208,12 +208,13 @@ elisp-make-autoload-file() { ;; DO NOT EDIT THIS FILE ;;; Code: - FF - ;; Local Variables: + ${page} + ;; Local ${null}Variables: ;; version-control: never ;; no-byte-compile: t ;; no-update-autoloads: t ;; End: + ;;; ${f##*/} ends here EOF @@ -282,7 +283,7 @@ elisp-site-file-install() { # location is still supported when generating site-gentoo.el. elisp-site-regen() { - local i sf line obsolete + local i sf line obsolete null="" page=$'\f' local -a sflist if [ ! -d "${ROOT}${SITELISP}" ]; then @@ -336,9 +337,12 @@ elisp-site-regen() { (provide 'site-gentoo) - ;; Local Variables: + ${page} + ;; Local ${null}Variables: ;; no-byte-compile: t + ;; buffer-read-only: t ;; End: + ;;; site-gentoo.el ends here EOF |