]> git.eshelyaron.com Git - emacs.git/commitdiff
Avoid non-ASCII decoding errors in C src files
authorEli Zaretskii <eliz@gnu.org>
Fri, 25 Sep 2015 17:29:27 +0000 (20:29 +0300)
committerEli Zaretskii <eliz@gnu.org>
Fri, 25 Sep 2015 17:29:27 +0000 (20:29 +0300)
* 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.

src/doprnt.c
src/editfns.c
src/lisp.h
src/nsterm.m

index 7c5a6afb94b989f4ced5cf4fbe86e73059e4011d..51f8fd72ba026cede785c7d81c136ffdce79d1e5 100644 (file)
@@ -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.
index e6f144e7b30ff0aab54a3fa83574a865cf488f7f..12e5ca8c001163a826cf2db04c2856cfb7562d17 100644 (file)
@@ -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.
 
index 15fe40db78095c628b77b5415563e4f383a7cf20..2d6661787cf494d325511b9027c9ab031d23a407 100644 (file)
@@ -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.
index 7c6b9dc174410044b9ffbeb01f19a257398a7952..a5bf06a70aff10b964932d14bb496c82845e83b5 100644 (file)
@@ -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.