diff options
| author | Paul Eggert | 2016-11-06 00:33:43 -0700 |
|---|---|---|
| committer | Paul Eggert | 2016-11-06 00:42:03 -0700 |
| commit | dc152c54f4e44f5f2040883b03f71ff6aa66c893 (patch) | |
| tree | 7b4f0336a1f03e7a53d980000a42568b10907409 /lisp/term | |
| parent | 84c53436ab25b6c8f76c133e59b34e533ea33cc7 (diff) | |
| download | emacs-dc152c54f4e44f5f2040883b03f71ff6aa66c893.tar.gz emacs-dc152c54f4e44f5f2040883b03f71ff6aa66c893.zip | |
Modernize usage of 'macOS' in doc and comments
Apple changed the spelling of its operating system again, to "macOS",
effective with macOS 10.12 Sierra (2016-09-20). Change Emacs
documentation and comments to match this. Stick with older OS
spellings ("OS X", "Mac OS X") when talking about older releases where
the older names are more correct.
Diffstat (limited to 'lisp/term')
| -rw-r--r-- | lisp/term/ns-win.el | 14 | ||||
| -rw-r--r-- | lisp/term/xterm.el | 2 |
2 files changed, 8 insertions, 8 deletions
diff --git a/lisp/term/ns-win.el b/lisp/term/ns-win.el index e737131d5bf..21bba480d02 100644 --- a/lisp/term/ns-win.el +++ b/lisp/term/ns-win.el | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | ;;; ns-win.el --- lisp side of interface with NeXT/Open/GNUstep/MacOS X window system -*- lexical-binding: t -*- | 1 | ;;; ns-win.el --- lisp side of interface with NeXT/Open/GNUstep/macOS window system -*- lexical-binding: t -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1993-1994, 2005-2016 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1993-1994, 2005-2016 Free Software Foundation, Inc. |
| 4 | 4 | ||
| @@ -41,7 +41,7 @@ | |||
| 41 | ;;; Code: | 41 | ;;; Code: |
| 42 | (eval-when-compile (require 'cl-lib)) | 42 | (eval-when-compile (require 'cl-lib)) |
| 43 | (or (featurep 'ns) | 43 | (or (featurep 'ns) |
| 44 | (error "%s: Loading ns-win.el but not compiled for GNUstep/MacOS" | 44 | (error "%s: Loading ns-win.el but not compiled for GNUstep/macOS" |
| 45 | (invocation-name))) | 45 | (invocation-name))) |
| 46 | 46 | ||
| 47 | ;; Documentation-purposes only: actually loaded in loadup.el. | 47 | ;; Documentation-purposes only: actually loaded in loadup.el. |
| @@ -54,7 +54,7 @@ | |||
| 54 | (require 'ucs-normalize) | 54 | (require 'ucs-normalize) |
| 55 | 55 | ||
| 56 | (defgroup ns nil | 56 | (defgroup ns nil |
| 57 | "GNUstep/Mac OS X specific features." | 57 | "GNUstep/macOS specific features." |
| 58 | :group 'environment) | 58 | :group 'environment) |
| 59 | 59 | ||
| 60 | ;;;; Command line argument handling. | 60 | ;;;; Command line argument handling. |
| @@ -338,7 +338,7 @@ See `ns-insert-working-text'." | |||
| 338 | (setq ns-working-overlay nil)) | 338 | (setq ns-working-overlay nil)) |
| 339 | 339 | ||
| 340 | 340 | ||
| 341 | ;; OS X file system Unicode UTF-8 NFD (decomposed form) support. | 341 | ;; macOS file system Unicode UTF-8 NFD (decomposed form) support. |
| 342 | (when (eq system-type 'darwin) | 342 | (when (eq system-type 'darwin) |
| 343 | ;; Used prior to Emacs 25. | 343 | ;; Used prior to Emacs 25. |
| 344 | (define-coding-system-alias 'utf-8-nfd 'utf-8-hfs) | 344 | (define-coding-system-alias 'utf-8-nfd 'utf-8-hfs) |
| @@ -641,7 +641,7 @@ This function has been overloaded in Nextstep.") | |||
| 641 | (set-frame-font ns-input-font)) | 641 | (set-frame-font ns-input-font)) |
| 642 | 642 | ||
| 643 | 643 | ||
| 644 | ;; Default fontset for Mac OS X. This is mainly here to show how a fontset | 644 | ;; Default fontset for macOS. This is mainly here to show how a fontset |
| 645 | ;; can be set up manually. Ordinarily, fontsets are auto-created whenever | 645 | ;; can be set up manually. Ordinarily, fontsets are auto-created whenever |
| 646 | ;; a font is chosen by | 646 | ;; a font is chosen by |
| 647 | (defvar ns-standard-fontset-spec | 647 | (defvar ns-standard-fontset-spec |
| @@ -655,7 +655,7 @@ This function has been overloaded in Nextstep.") | |||
| 655 | ",") | 655 | ",") |
| 656 | "String of fontset spec of the standard fontset. | 656 | "String of fontset spec of the standard fontset. |
| 657 | This defines a fontset consisting of the Courier and other fonts that | 657 | This defines a fontset consisting of the Courier and other fonts that |
| 658 | come with OS X. | 658 | come with macOS. |
| 659 | See the documentation of `create-fontset-from-fontset-spec' for the format.") | 659 | See the documentation of `create-fontset-from-fontset-spec' for the format.") |
| 660 | 660 | ||
| 661 | (defvar ns-reg-to-script) ; nsfont.m | 661 | (defvar ns-reg-to-script) ; nsfont.m |
| @@ -892,7 +892,7 @@ See the documentation of `create-fontset-from-fontset-spec' for the format.") | |||
| 892 | (setq default-process-coding-system | 892 | (setq default-process-coding-system |
| 893 | '(utf-8-unix . utf-8-unix))))) | 893 | '(utf-8-unix . utf-8-unix))))) |
| 894 | 894 | ||
| 895 | ;; OS X Lion introduces PressAndHold, which is unsupported by this port. | 895 | ;; Mac OS X Lion introduces PressAndHold, which is unsupported by this port. |
| 896 | ;; See this thread for more details: | 896 | ;; See this thread for more details: |
| 897 | ;; http://lists.gnu.org/archive/html/emacs-devel/2011-06/msg00505.html | 897 | ;; http://lists.gnu.org/archive/html/emacs-devel/2011-06/msg00505.html |
| 898 | (ns-set-resource nil "ApplePressAndHoldEnabled" "NO") | 898 | (ns-set-resource nil "ApplePressAndHoldEnabled" "NO") |
diff --git a/lisp/term/xterm.el b/lisp/term/xterm.el index 19eb37a51d6..880141bda12 100644 --- a/lisp/term/xterm.el +++ b/lisp/term/xterm.el | |||
| @@ -771,7 +771,7 @@ We run the first FUNCTION whose STRING matches the input events." | |||
| 771 | ;; Try to find out the type of terminal by sending a "Secondary | 771 | ;; Try to find out the type of terminal by sending a "Secondary |
| 772 | ;; Device Attributes (DA)" query. | 772 | ;; Device Attributes (DA)" query. |
| 773 | (xterm--query "\e[>0c" | 773 | (xterm--query "\e[>0c" |
| 774 | ;; Some terminals (like OS X's Terminal.app) respond to | 774 | ;; Some terminals (like macOS's Terminal.app) respond to |
| 775 | ;; this query as if it were a "Primary Device Attributes" | 775 | ;; this query as if it were a "Primary Device Attributes" |
| 776 | ;; query instead, so we should handle that too. | 776 | ;; query instead, so we should handle that too. |
| 777 | '(("\e[?" . xterm--version-handler) | 777 | '(("\e[?" . xterm--version-handler) |