summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--eclass/ChangeLog7
-rw-r--r--eclass/elisp-common.eclass5
2 files changed, 10 insertions, 2 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index 00fa52c..aaf091b 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -1,3 +1,10 @@
+2009-09-08 Ulrich Mueller <ulm@gentoo.org>
+
+ * 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
+ to inhibit local variables detection in the eclass file itself.
+
2009-08-24 Ulrich Mueller <ulm@gentoo.org>
* elisp.eclass (elisp_pkg_setup): We compare major versions only,
diff --git a/eclass/elisp-common.eclass b/eclass/elisp-common.eclass
index b059e6e..cbf337d 100644
--- a/eclass/elisp-common.eclass
+++ b/eclass/elisp-common.eclass
@@ -209,7 +209,7 @@ elisp-make-autoload-file() {
;;; Code:
FF
- ;; Local Variables:
+ ;; Local ``Variables:
;; version-control: never
;; no-byte-compile: t
;; no-update-autoloads: t
@@ -336,8 +336,9 @@ elisp-site-regen() {
(provide 'site-gentoo)
- ;; Local Variables:
+ ;; Local ``Variables:
;; no-byte-compile: t
+ ;; buffer-read-only: t
;; End:
;;; site-gentoo.el ends here
EOF