[svn] gpgme - r1458 - in trunk: . src
svn author wk
cvs at cvs.gnupg.org
Mon Mar 15 13:04:54 CET 2010
Author: wk
Date: 2010-03-15 13:04:53 +0100 (Mon, 15 Mar 2010)
New Revision: 1458
Modified:
trunk/ChangeLog
trunk/configure.ac
trunk/src/ChangeLog
trunk/src/gpgme.h.in
Log:
Make generated header file read-only in an emacs buffer.
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2010-03-12 22:24:13 UTC (rev 1457)
+++ trunk/ChangeLog 2010-03-15 12:04:53 UTC (rev 1458)
@@ -1,3 +1,8 @@
+2010-03-15 Werner Koch <wk at g10code.com>
+
+ * configure.ac (emacs_local_vars_begin)
+ (emacs_local_vars_read_only, emacs_local_vars_end): New.
+
2010-01-22 Werner Koch <wk at g10code.com>
* autogen.sh (--build-w32): Add --with-libassuan-prefix.
Modified: trunk/src/ChangeLog
===================================================================
--- trunk/src/ChangeLog 2010-03-12 22:24:13 UTC (rev 1457)
+++ trunk/src/ChangeLog 2010-03-15 12:04:53 UTC (rev 1458)
@@ -1,3 +1,8 @@
+2010-03-15 Werner Koch <wk at g10code.com>
+
+ * gpgme.h.in: Add autoconf template to set generated file to
+ read-only in an emacs buffer.
+
2010-03-12 Werner Koch <wk at g10code.com>
* gpgme.h.in (GPGME_STATUS_SUCCESS): Use the right file for the
Modified: trunk/configure.ac
===================================================================
--- trunk/configure.ac 2010-03-12 22:24:13 UTC (rev 1457)
+++ trunk/configure.ac 2010-03-15 12:04:53 UTC (rev 1458)
@@ -871,6 +871,12 @@
[#include <errno.h>])
+# A substitution 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:'])
+
+
# Last check.
die=no
if test "$require_libassuan" = "no"; then
Modified: trunk/src/gpgme.h.in
===================================================================
--- trunk/src/gpgme.h.in 2010-03-12 22:24:13 UTC (rev 1457)
+++ trunk/src/gpgme.h.in 2010-03-15 12:04:53 UTC (rev 1458)
@@ -2101,3 +2101,8 @@
}
#endif
#endif /* GPGME_H */
+/*
+ at emacs_local_vars_begin@
+ at emacs_local_vars_read_only@
+ at emacs_local_vars_end@
+*/
More information about the Gnupg-commits
mailing list