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 | 8 ++++++++ lib/md5-stream.c | 7 ------- lib/sha1-stream.c | 7 ------- lib/sha256-stream.c | 7 ------- lib/sm3-stream.c | 7 ------- 5 files changed, 8 insertions(+), 28 deletions(-)
diff --git a/ChangeLog b/ChangeLog index eb7df14aea..51337ddca6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,13 @@ 2024-07-28 Paul Eggert <egg...@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. diff --git a/lib/md5-stream.c b/lib/md5-stream.c index c82f18145e..fdd2bd8b4b 100644 --- a/lib/md5-stream.c +++ b/lib/md5-stream.c @@ -132,10 +132,3 @@ process_partial_block: free (buffer); return 0; } - -/* - * Hey Emacs! - * Local Variables: - * coding: utf-8 - * End: - */ diff --git a/lib/sha1-stream.c b/lib/sha1-stream.c index 7bf44e5ea3..cbdf95ab76 100644 --- a/lib/sha1-stream.c +++ b/lib/sha1-stream.c @@ -120,10 +120,3 @@ sha1_stream (FILE *stream, void *resblock) free (buffer); return 0; } - -/* - * Hey Emacs! - * Local Variables: - * coding: utf-8 - * End: - */ diff --git a/lib/sha256-stream.c b/lib/sha256-stream.c index 08d24b7bfc..690ca967dd 100644 --- a/lib/sha256-stream.c +++ b/lib/sha256-stream.c @@ -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: - */ diff --git a/lib/sm3-stream.c b/lib/sm3-stream.c index c534edb126..f9ed05a944 100644 --- a/lib/sm3-stream.c +++ b/lib/sm3-stream.c @@ -114,10 +114,3 @@ sm3_stream (FILE *stream, void *resblock) free (buffer); return 0; } - -/* - * Hey Emacs! - * Local Variables: - * coding: utf-8 - * End: - */ -- 2.45.2