Port to Mac OS X console Emacs 22.1.1.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Tue, 29 Mar 2011 07:59:49 -0700
changeset 622 596406094fd1
parent 614 41c826f2b24f
child 623 0945c23d34b8
Port to Mac OS X console Emacs 22.1.1.
.emacs-autogen.sh
.emacs-my
--- a/.emacs-autogen.sh	Fri Mar 25 15:41:34 2011 +0200
+++ b/.emacs-autogen.sh	Tue Mar 29 07:59:49 2011 -0700
@@ -25,6 +25,9 @@
         host_distro=unknown
       fi
       ;;
+    Darwin)
+      host_os=darwin
+      ;;
     *)
       host_os=unknown
       ;;
@@ -88,6 +91,9 @@
           ;;
       esac
       ;;
+    darwin)
+      print_aspell
+      ;;
     *)
       :
       ;;
--- a/.emacs-my	Fri Mar 25 15:41:34 2011 +0200
+++ b/.emacs-my	Tue Mar 29 07:59:49 2011 -0700
@@ -276,7 +276,7 @@
 
 (setq read-quoted-char-radix 16)
 
-(when (>= emacs-major-version 22)
+(when (and (>= emacs-major-version 22) (not (eq system-type 'darwin)))
   (setq standard-display-table (make-display-table))
   (let ( (i ?\x80) hex hi low )
     (while (<= i ?\xff)
@@ -536,6 +536,10 @@
     (setq x-select-request-type '(UTF8_STRING COMPOUND_TEXT TEXT STRING))
     (modify-coding-system-alist 'process ".*" 'utf-8-unix)
     ))
+ ((eq system-type 'darwin)
+  (progn
+    nil
+    ))
  (t
   (progn
     (prefer-coding-system 'cp1251-dos)