Mercurial > emacs
changeset 96788:c4b6acf322cc
Contents of ns-carbon-compat.el moved here.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Fri, 18 Jul 2008 16:54:12 +0000 |
parents | aee36828429f |
children | e44370b2554f |
files | lisp/term/ns-win.el |
diffstat | 1 files changed, 9 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/term/ns-win.el Fri Jul 18 16:53:55 2008 +0000 +++ b/lisp/term/ns-win.el Fri Jul 18 16:54:12 2008 +0000 @@ -307,7 +307,15 @@ ;;;; defined below (autoload 'ns-grabenv "ns-grabenv" "Get environment from your shell." t nil) -(load "ns-carbon-compat") + +;; Set up a number of aliases and other layers to pretend we're using +;; the Choi/Mitsuharu Carbon port. + +(defvaralias 'mac-allow-anti-aliasing 'ns-antialias-text) +(defvaralias 'mac-command-modifier 'ns-command-modifier) +(defvaralias 'mac-control-modifier 'ns-control-modifier) +(defvaralias 'mac-option-modifier 'ns-option-modifier) +(defvaralias 'mac-function-modifier 'ns-function-modifier) ;; alt-up/down scrolling a la Stuart.app ;; only activated if ns-extended-platform-support is on