emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to lisp/ns-carbon-compat.el


From: Adrian Robert
Subject: [Emacs-diffs] Changes to lisp/ns-carbon-compat.el
Date: Tue, 15 Jul 2008 18:15:54 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Adrian Robert <arobert> 08/07/15 18:15:19

Index: lisp/ns-carbon-compat.el
===================================================================
RCS file: lisp/ns-carbon-compat.el
diff -N lisp/ns-carbon-compat.el
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ lisp/ns-carbon-compat.el    15 Jul 2008 18:15:00 -0000      2.1
@@ -0,0 +1,37 @@
+;;; ns-carbon-compat.el ---
+;;;     Carbon compatibility layer for Mac users of NS (Cocoa) GUI.
+;;; Copyright (C) 2008 Free Software Foundation, Inc.
+
+;;; Author: Adrian Robert
+;;; Keywords: Carbon, MacOSX
+
+;;; This file is part of GNU Emacs.
+;;;
+;;; GNU Emacs is free software; you can redistribute it and/or modify
+;;; it under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 2, or (at your option)
+;;; any later version.
+;;;
+;;; GNU Emacs is distributed in the hope that it will be useful,
+;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Emacs; see the file COPYING.  If not, write to
+;;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+
+;;; Commentary:
+
+;; ns-carbon-compat.el:  this file is loaded from termp/ns-win.el when
+;; run on a Mac OS X system.  It sets up a number of aliases and other
+;; layers to enable human and machine users (Mac distributions of GNU Emacs)
+;; to pretend they are using the Choi/Mitsuharu Carbon port.
+
+;;; Code:
+
+(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)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]