aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2015-09-25 20:29:27 +0300
committerEli Zaretskii2015-09-25 20:29:27 +0300
commit00908ee96e77b09729721610b78adb5014c0aca6 (patch)
treeef628bbe715f4989ef5210fc3a90bc12b73eda7e /src
parentfeddb99afd5692ad7baf2e5675a35b88ff6987ae (diff)
downloademacs-00908ee96e77b09729721610b78adb5014c0aca6.tar.gz
emacs-00908ee96e77b09729721610b78adb5014c0aca6.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/doprnt.c2
-rw-r--r--src/editfns.c2
-rw-r--r--src/lisp.h2
-rw-r--r--src/nsterm.m2
4 files changed, 4 insertions, 4 deletions
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 @@
1/* Output like sprintf to a buffer of specified size. 1/* Output like sprintf to a buffer of specified size. -*- coding: utf-8 -*-
2 Also takes args differently: pass one pointer to the end 2 Also takes args differently: pass one pointer to the end
3 of the format string in addition to the format string itself. 3 of the format string in addition to the format string itself.
4 Copyright (C) 1985, 2001-2015 Free Software Foundation, Inc. 4 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 @@
1/* Lisp functions pertaining to editing. 1/* Lisp functions pertaining to editing. -*- coding: utf-8 -*-
2 2
3Copyright (C) 1985-1987, 1989, 1993-2015 Free Software Foundation, Inc. 3Copyright (C) 1985-1987, 1989, 1993-2015 Free Software Foundation, Inc.
4 4
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 @@
1/* Fundamental definitions for GNU Emacs Lisp interpreter. 1/* Fundamental definitions for GNU Emacs Lisp interpreter. -*- coding: utf-8 -*-
2 2
3Copyright (C) 1985-1987, 1993-1995, 1997-2015 Free Software Foundation, 3Copyright (C) 1985-1987, 1993-1995, 1997-2015 Free Software Foundation,
4Inc. 4Inc.
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 @@
1/* NeXT/Open/GNUstep / MacOSX communication module. 1/* NeXT/Open/GNUstep / MacOSX communication module. -*- coding: utf-8 -*-
2 2
3Copyright (C) 1989, 1993-1994, 2005-2006, 2008-2015 Free Software 3Copyright (C) 1989, 1993-1994, 2005-2006, 2008-2015 Free Software
4Foundation, Inc. 4Foundation, Inc.