]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
authorGlenn Morris <rgm@gnu.org>
Mon, 7 May 2012 21:26:08 +0000 (17:26 -0400)
committerGlenn Morris <rgm@gnu.org>
Mon, 7 May 2012 21:26:08 +0000 (17:26 -0400)
* etc/NEWS: Edits.

Ref: http://lists.gnu.org/archive/html/emacs-devel/2012-04/msg00434.html

etc/NEWS
lisp/ChangeLog
lisp/international/mule.el

index baa39db0cb667f05c1ff4b27ad9e1610ac3e57e5..768bc2297637b60f4d4ce0271f4fbcb16845f1d3 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -65,6 +65,9 @@ ImageMagick to view images, set
 frames, if emacsclient is only told to open a new frame without
 specifying any file to visit or expression to evaluate.
 
+** Using "unibyte: t" in Lisp source files is obsolete.
+Using "coding: raw-text" instead.
+
 \f
 * Editing Changes in Emacs 24.2
 
@@ -128,7 +131,8 @@ see the `apropos' Custom group for details.
 
 ** Calendar
 
-*** The calendars produced by cal-html can optionally include holidays.
+*** The calendars produced by cal-html include holidays.
+Customize cal-html-holidays to change this.
 
 ** Customize
 
index b0a042f06647b2d19378e8762fa6adfe78691ea6..db27b30a0346ec56fae834e00009fec795f72025 100644 (file)
@@ -1,3 +1,7 @@
+2012-05-07  Glenn Morris  <rgm@gnu.org>
+
+       * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
+
 2012-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * loadup.el: Preload newcomment.el.
index 1f88df52fd4a7ec3a597f9868f6c08206a6e817a..3257b069787f44ab8cb1836d44a3cf6d727041f4 100644 (file)
@@ -30,6 +30,7 @@
 
 ;;; Code:
 
+;; FIXME?  Are these still relevant?  Nothing uses them AFAICS.
 (defconst mule-version "6.0 (HANACHIRUSATO)" "\
 Version number and name of this version of MULE (multilingual environment).")
 
@@ -1835,6 +1836,8 @@ If nothing is specified, the return value is nil."
                       (re-search-forward
                        "\\(.*;\\)?[ \t]*unibyte:[ \t]*\\([^ ;]+\\)"
                        head-end t))
+              (display-warning 'mule "`unibyte: t' is obsolete; \
+use \"coding: 'raw-text\" instead." :warning)
              (setq coding-system 'raw-text))
            (when (and (not coding-system)
                       (re-search-forward