summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--configure.ac10
2 files changed, 10 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index e3ff5dbe..6df65b2b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-04-06 Werner Koch <wk@g10code.com>
+
+ * configure.ac (emacs_local_vars_begin): Move more to the top to
+ avoid Emacs warnings.
+
2011-03-30 Werner Koch <wk@g10code.com>
* compat/compat.c (_gcry_compat_identification): Add version string.
diff --git a/configure.ac b/configure.ac
index f9e3593d..155d679f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -338,6 +338,11 @@ default_ciphers="$available_ciphers"
default_pubkey_ciphers="$available_pubkey_ciphers"
default_digests="$available_digests"
+# Substitutions to set generated files in a Emacs buffer to read-only.
+AC_SUBST(emacs_local_vars_begin, ['Local Variables:'])
+AC_SUBST(emacs_local_vars_read_only, ['buffer-read-only: t'])
+AC_SUBST(emacs_local_vars_end, ['End:'])
+
############################
## Command line switches. ##
############################
@@ -1187,11 +1192,6 @@ AC_DEFINE_UNQUOTED(BUILD_REVISION, "$BUILD_REVISION",
[Subversion revision used to build this package])
-# Substitutions to set generated files in a Emacs buffer to read-only.
-AC_SUBST(emacs_local_vars_begin, ['Local Variables:'])
-AC_SUBST(emacs_local_vars_read_only, ['buffer-read-only: t'])
-AC_SUBST(emacs_local_vars_end, ['End:'])
-
# And create the files.
AC_CONFIG_FILES([