diff options
author | Bruno Haible <bruno@clisp.org> | 2018-01-05 22:08:14 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2018-01-05 22:08:14 +0100 |
commit | 16fc1cdc25991b996e454254ca1365f966d00a59 (patch) | |
tree | 22d9c85e16598f470258b74d7360c6e206634d1f /lib/getprogname.c | |
parent | c3827a910617fd333a7b6f97c601796a46c2a2cf (diff) | |
download | gnulib-16fc1cdc25991b996e454254ca1365f966d00a59.tar.gz |
maint: Add encoding marker for Emacs to non-ASCII sources.
Similar to commit f406941a8a2ec5fbf3eacc386b9be09d6593d53b
from Paul Eggert <eggert@cs.ucla.edu> 2015-09-24.
To determine the file list that need the marker, I used the command:
for f in `find . -type f | grep -v '^\./\.git/' | grep -v '^\./tests/'`; do
if iconv -f ASCII -t ASCII < $f > /dev/null 2>&1 ; then : ; else
if iconv -f UTF-8 -t UTF-8 < $f > /dev/null 2>&1 ; then
if grep 'The GNU C Library is' $f > /dev/null; then :; else
if grep 'coding: utf-8' $f > /dev/null; then :; else
echo $f
fi
fi
fi
fi
done | LC_ALL=C sort
Diffstat (limited to 'lib/getprogname.c')
-rw-r--r-- | lib/getprogname.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/getprogname.c b/lib/getprogname.c index dd2d9442a9..58625de31b 100644 --- a/lib/getprogname.c +++ b/lib/getprogname.c @@ -182,3 +182,10 @@ getprogname (void) } #endif + +/* + * Hey Emacs! + * Local Variables: + * coding: utf-8 + * End: + */ |