]> Savannah Git Hosting - gnulib.git/commitdiff
maint: remove ‘coding: utf-8’ on ASCII
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 28 Jul 2024 19:37:13 +0000 (12:37 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 28 Jul 2024 19:37:45 +0000 (12:37 -0700)
These days, ‘coding: utf-8’ tags aren’t needed in general,
as Emacs typically defaults to UTF-8, and Emacs itself now
has many untagged source files in UTF-8.  However, for now let’s
just remove the tags when they are on ASCII files.
* lib/md5-stream.c, lib/sha1-stream.c, lib/sha256-stream.c:
* lib/sm3-stream.c: Remove unnecessary coding: lines.

ChangeLog
lib/md5-stream.c
lib/sha1-stream.c
lib/sha256-stream.c
lib/sm3-stream.c

index eb7df14aea623d0c7910cc4daa1958741d10602c..51337ddca6923942f52600498440e22b3bc6d9bc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2024-07-28  Paul Eggert  <eggert@cs.ucla.edu>
 
+       maint: remove ‘coding: utf-8’ on ASCII
+       These days, ‘coding: utf-8’ tags aren’t needed in general,
+       as Emacs typically defaults to UTF-8, and Emacs itself now
+       has many untagged source files in UTF-8.  However, for now let’s
+       just remove the tags when they are on ASCII files.
+       * lib/md5-stream.c, lib/sha1-stream.c, lib/sha256-stream.c:
+       * lib/sm3-stream.c: Remove unnecessary coding: lines.
+
        maint: remove coding: that did not work
        * m4/fnmatch.m4, m4/fpieee.m4, m4/mbrlen.m4, m4/mbrtowc.m4:
        Remove ineffective coding: strings.
index c82f18145e0176d2ecbde9891cb727ff711b5de6..fdd2bd8b4bf85a29d95ca220d84f95a2c3fcca93 100644 (file)
@@ -132,10 +132,3 @@ process_partial_block:
   free (buffer);
   return 0;
 }
-
-/*
- * Hey Emacs!
- * Local Variables:
- * coding: utf-8
- * End:
- */
index 7bf44e5ea3f779b2960c8bf66e98e280a999a81d..cbdf95ab7646ffe7f2d04af4a11089ec89eefd26 100644 (file)
@@ -120,10 +120,3 @@ sha1_stream (FILE *stream, void *resblock)
   free (buffer);
   return 0;
 }
-
-/*
- * Hey Emacs!
- * Local Variables:
- * coding: utf-8
- * End:
- */
index 08d24b7bfc90cb8a1d8b26576b4b7d53064a4db4..690ca967ddaeabec0fa5b7b21e5a8a70b7db7bf4 100644 (file)
@@ -136,10 +136,3 @@ sha224_stream (FILE *stream, void *resblock)
   return shaxxx_stream (stream, "sha224", resblock, SHA224_DIGEST_SIZE,
                         sha224_init_ctx, sha224_finish_ctx);
 }
-
-/*
- * Hey Emacs!
- * Local Variables:
- * coding: utf-8
- * End:
- */
index c534edb12650f2f652b08e5f3b1f198e93ab7a0e..f9ed05a944380afd1eafade165c8257295bf312a 100644 (file)
@@ -114,10 +114,3 @@ sm3_stream (FILE *stream, void *resblock)
   free (buffer);
   return 0;
 }
-
-/*
- * Hey Emacs!
- * Local Variables:
- * coding: utf-8
- * End:
- */