They say the world is Unicode, lets try to live there
[syinit] / 01-vars-sy.el
index db8af51..b72f70e 100644 (file)
@@ -5,7 +5,7 @@
 ;;     Author: Steve Youngs <steve@sxemacs.org>
 ;; Maintainer: Steve Youngs <steve@sxemacs.org>
 ;;    Created: <2007-12-02>
-;; Time-stamp: <Sunday Aug 25, 2013 09:16:05 steve>
+;; Time-stamp: <Monday Jun 29, 2015 17:01:44 steve>
 ;;   Download: <http://bastard.steveyoungs.com/~steve/SXEmacs/inits/>
 ;;   HTMLised: <http://bastard.steveyoungs.com/~steve/SXEmacs/htmlinits/00-vars-sy.html>
 ;;   Git Repo: git clone http://git.sxemacs.org/syinit
 (defvar message-directory (paths-construct-path 
                        (list (user-home-directory) "Gnus"))
   "Gnus directory.")
+
+
+;:*=======================
+;:* Unicode shit
+(unless (fboundp 'ucs-to-char)
+  (when (featurep '(and mule mule-ucs-autoloads))
+    (require 'un-define)
+    (and (coding-system-p (find-coding-system 'utf-8))
+        (setq-default buffer-file-coding-system
+                      (coding-system-name
+                       (find-coding-system 'utf-8))))))
    
 ;:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::*
 (message "variables initialiased")