[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 00908ee: Avoid non-ASCII decoding errors in C src f
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] master 00908ee: Avoid non-ASCII decoding errors in C src files |
Date: |
Fri, 25 Sep 2015 17:30:13 +0000 |
branch: master
commit 00908ee96e77b09729721610b78adb5014c0aca6
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>
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.
---
src/doprnt.c | 2 +-
src/editfns.c | 2 +-
src/lisp.h | 2 +-
src/nsterm.m | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/doprnt.c b/src/doprnt.c
index 7c5a6af..51f8fd7 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 e6f144e..12e5ca8 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 15fe40d..2d66617 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 7c6b9dc..a5bf06a 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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 00908ee: Avoid non-ASCII decoding errors in C src files,
Eli Zaretskii <=