diff options
author | Ulrich Müller <ulm@gentoo.org> | 2009-09-08 19:08:05 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2009-09-08 19:08:05 +0000 |
commit | b8547a7951bc6d1ed1cdbd4fcf3c1e1b8dfb9a1d (patch) | |
tree | 1492561cff9ed5d35ca7a78a17534591bc5f7651 /eclass | |
parent | Mark site-gentoo.el as buffer-read-only, in order to prevent (diff) | |
download | emacs-b8547a7951bc6d1ed1cdbd4fcf3c1e1b8dfb9a1d.tar.gz emacs-b8547a7951bc6d1ed1cdbd4fcf3c1e1b8dfb9a1d.tar.bz2 emacs-b8547a7951bc6d1ed1cdbd4fcf3c1e1b8dfb9a1d.zip |
Use null string instead of command substitution, it may be less fragile.
svn path=/emacs-overlay/; revision=1440
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/ChangeLog | 2 | ||||
-rw-r--r-- | eclass/elisp-common.eclass | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog index aaf091b..ebed2ec 100644 --- a/eclass/ChangeLog +++ b/eclass/ChangeLog @@ -2,7 +2,7 @@ * elisp-common.eclass (elisp-site-regen): Mark site-gentoo.el as buffer-read-only, in order to prevent unintentional edits. - (elisp-make-autoload-file, elisp-site-regen): Add dummy backquotes + (elisp-make-autoload-file, elisp-site-regen): Add a null string to inhibit local variables detection in the eclass file itself. 2009-08-24 Ulrich Mueller <ulm@gentoo.org> diff --git a/eclass/elisp-common.eclass b/eclass/elisp-common.eclass index cbf337d..4fdca5b 100644 --- a/eclass/elisp-common.eclass +++ b/eclass/elisp-common.eclass @@ -196,7 +196,7 @@ 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="" shift ebegin "Generating autoload file for GNU Emacs" @@ -209,7 +209,7 @@ elisp-make-autoload-file() { ;;; Code: FF - ;; Local ``Variables: + ;; Local ${null}Variables: ;; version-control: never ;; no-byte-compile: t ;; no-update-autoloads: t @@ -282,7 +282,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="" local -a sflist if [ ! -d "${ROOT}${SITELISP}" ]; then @@ -336,7 +336,7 @@ elisp-site-regen() { (provide 'site-gentoo) - ;; Local ``Variables: + ;; Local ${null}Variables: ;; no-byte-compile: t ;; buffer-read-only: t ;; End: |