From f06763be7a315dc308a8313fe604aca2848759bc Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Fri, 17 Oct 2008 17:55:08 +0000 Subject: [PATCH] (emacs-internal): New coding system alias. --- etc/NEWS | 4 ++++ lisp/ChangeLog | 4 ++++ lisp/international/mule-conf.el | 5 +++++ 3 files changed, 13 insertions(+) diff --git a/etc/NEWS b/etc/NEWS index 83786459d4d..2b8556048ac 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -36,6 +36,10 @@ below. Emacs tries to warn you about these through `bad-packages-alist'. ** cua.el, cua-mode.el: remove old versions. +* Lisp Changes in Emacs 22.4 + +** New coding system alias `emacs-internal'. + * Changes in Emacs 22.3 ** Support for several obsolete platforms will be removed in the next diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f513925b4f6..46fb08a0e53 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2008-10-17 Stefan Monnier + + * international/mule-conf.el (emacs-internal): New coding system alias. + 2008-09-05 Chong Yidong * Version 22.3 released. diff --git a/lisp/international/mule-conf.el b/lisp/international/mule-conf.el index ff3308b5468..3f9a5cc27d1 100644 --- a/lisp/international/mule-conf.el +++ b/lisp/international/mule-conf.el @@ -316,6 +316,11 @@ character." (define-coding-system-alias 'binary 'no-conversion) +;; 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 'emacs-mule-unix) + (put 'undecided 'coding-system (vector t ?- "No conversion on encoding, automatic conversion on decoding" (list 'alias-coding-systems '(undecided) -- 2.39.5