Commit 832966e5 authored by Jan Djärv's avatar Jan Djärv
Browse files

* term/ns-win.el (ns-initialize-window-system): Set locale-coding-system

and default-process-coding-system to utf-8-unix.

Fixes: debbugs:15402
parent 92e5298b
2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
* term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
and default-process-coding-system to utf-8-unix (Bug#15402).
2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
* subr.el (looking-back): Do not recommend using looking-back.
......
......@@ -912,6 +912,13 @@ See the documentation of `create-fontset-from-fontset-spec' for the format.")
;; FIXME: This will surely lead to "MODIFIED OUTSIDE CUSTOM" warnings.
(menu-bar-mode (if (get-lisp-resource nil "Menus") 1 -1))
;; For NS nothing except UTF-8 makes sense.
(add-hook 'before-init-hook
#'(lambda ()
(setq locale-coding-system 'utf-8-unix)
(setq default-process-coding-system
'(utf-8-unix . utf-8-unix))))
;; OS X Lion introduces PressAndHold, which is unsupported by this port.
;; See this thread for more details:
;; http://lists.gnu.org/archive/html/emacs-devel/2011-06/msg00505.html
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment