From: Eli Zaretskii Date: Fri, 25 Sep 2015 17:29:27 +0000 (+0300) Subject: Avoid non-ASCII decoding errors in C src files X-Git-Tag: emacs-25.0.90~1224^2~19 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=00908ee96e77b09729721610b78adb5014c0aca6;p=emacs.git Avoid non-ASCII decoding errors in C src files * src/nsterm.m: * src/lisp.h: * src/editfns.c: * src/doprnt.c: Add 'coding' cookies -- these files include Unicode characters and should be decoded as UTF-8. --- diff --git a/src/doprnt.c b/src/doprnt.c index 7c5a6afb94b..51f8fd72ba0 100644 --- a/src/doprnt.c +++ b/src/doprnt.c @@ -1,4 +1,4 @@ -/* Output like sprintf to a buffer of specified size. +/* Output like sprintf to a buffer of specified size. -*- coding: utf-8 -*- Also takes args differently: pass one pointer to the end of the format string in addition to the format string itself. Copyright (C) 1985, 2001-2015 Free Software Foundation, Inc. diff --git a/src/editfns.c b/src/editfns.c index e6f144e7b30..12e5ca8c001 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -1,4 +1,4 @@ -/* Lisp functions pertaining to editing. +/* Lisp functions pertaining to editing. -*- coding: utf-8 -*- Copyright (C) 1985-1987, 1989, 1993-2015 Free Software Foundation, Inc. diff --git a/src/lisp.h b/src/lisp.h index 15fe40db780..2d6661787cf 100644 --- a/src/lisp.h +++ b/src/lisp.h @@ -1,4 +1,4 @@ -/* Fundamental definitions for GNU Emacs Lisp interpreter. +/* Fundamental definitions for GNU Emacs Lisp interpreter. -*- coding: utf-8 -*- Copyright (C) 1985-1987, 1993-1995, 1997-2015 Free Software Foundation, Inc. diff --git a/src/nsterm.m b/src/nsterm.m index 7c6b9dc1744..a5bf06a70af 100644 --- a/src/nsterm.m +++ b/src/nsterm.m @@ -1,4 +1,4 @@ -/* NeXT/Open/GNUstep / MacOSX communication module. +/* NeXT/Open/GNUstep / MacOSX communication module. -*- coding: utf-8 -*- Copyright (C) 1989, 1993-1994, 2005-2006, 2008-2015 Free Software Foundation, Inc.