[git] GCRYPT - branch, master, updated. post-nuke-of-trailing-ws-25-gff10bd8

by Werner Koch cvs at cvs.gnupg.org
Wed Apr 6 10:47:44 CEST 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GNU crypto library".

The branch, master has been updated
       via  ff10bd860da982d8ecad39a02156816998951e67 (commit)
      from  d9db9210b67b613f60c2f73923c53336abb74438 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit ff10bd860da982d8ecad39a02156816998951e67
Author: Werner Koch <wk at gnupg.org>
Date:   Wed Apr 6 10:17:48 2011 +0200

    Move an AC_SUBST to avoid an Emacs warning
    
    Recent versions of Emacs seem to have a not so strict check for local
    buffer variables and thus detect our emacs_local_vars subs as improper
    local variables.  Moving them more to the top of the file helps.
    Another solution would have been to use m4 tricks.

diff --git a/ChangeLog b/ChangeLog
index e3ff5db..6df65b2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-04-06  Werner Koch  <wk at g10code.com>
+
+	* configure.ac (emacs_local_vars_begin): Move more to the top to
+	avoid Emacs warnings.
+
 2011-03-30  Werner Koch  <wk at g10code.com>
 
 	* compat/compat.c (_gcry_compat_identification): Add version string.
diff --git a/configure.ac b/configure.ac
index f9e3593..155d679 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([

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog    |    5 +++++
 configure.ac |   10 +++++-----
 2 files changed, 10 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
The GNU crypto library
http://git.gnupg.org




More information about the Gnupg-commits mailing list