changeset 98849:260217a5e2e4

(emacs-internal): New coding system alias.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sat, 18 Oct 2008 23:13:09 +0000
parents 733b79cab28d
children 8870254fa09e
files etc/NEWS lisp/ChangeLog lisp/international/mule-conf.el
diffstat 3 files changed, 13 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/etc/NEWS	Sat Oct 18 23:05:11 2008 +0000
+++ b/etc/NEWS	Sat Oct 18 23:13:09 2008 +0000
@@ -1118,6 +1118,8 @@
 
 * Lisp Changes in Emacs 23.1
 
+** New coding system alias `emacs-internal'.
+
 +++
 ** New primitives `list-system-processes' and `system-process-attributes'
 let Lisp programs access the processes that are running on the local
--- a/lisp/ChangeLog	Sat Oct 18 23:05:11 2008 +0000
+++ b/lisp/ChangeLog	Sat Oct 18 23:13:09 2008 +0000
@@ -1,3 +1,7 @@
+2008-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+	* international/mule-conf.el (emacs-internal): New coding system alias.
+
 2008-10-18  Juri Linkov  <juri@jurta.org>
 
 	* info.el (Info-find-node-2): Put initial point below the header line
@@ -3083,8 +3087,8 @@
 	frame-specific X resource settings.  Set faces using a list of
 	frame parameters explicitly passed to the calling
 	function (e.g. make-frame).
-	(x-create-frame-with-faces, tty-create-frame-with-faces): Supply
-	explicit frame parameter list to face-set-after-frame-default.
+	(x-create-frame-with-faces, tty-create-frame-with-faces):
+	Supply explicit frame parameter list to face-set-after-frame-default.
 
 2008-07-08  Eduard Wiebe  <usenet@pusto.de>  (tiny change)
 
--- a/lisp/international/mule-conf.el	Sat Oct 18 23:05:11 2008 +0000
+++ b/lisp/international/mule-conf.el	Sat Oct 18 23:13:09 2008 +0000
@@ -1281,6 +1281,11 @@
   :mnemonic ?U
   :charset-list '(emacs))
 
+;; The encoding used internally.  This encoding is meant to be able to save
+;; any multibyte buffer without losing information.  It can change between
+;; Emacs releases, tho, so should only be used for internal files.
+(define-coding-system-alias 'emacs-internal 'utf-8-emacs-unix)
+
 (define-coding-system 'utf-16le
   "UTF-16LE (little endian, no signature (BOM))."
   :coding-type 'utf-16