aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/net
diff options
context:
space:
mode:
authorPaul Eggert2016-11-06 00:33:43 -0700
committerPaul Eggert2016-11-06 00:42:03 -0700
commitdc152c54f4e44f5f2040883b03f71ff6aa66c893 (patch)
tree7b4f0336a1f03e7a53d980000a42568b10907409 /lisp/net
parent84c53436ab25b6c8f76c133e59b34e533ea33cc7 (diff)
downloademacs-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/net')
-rw-r--r--lisp/net/ange-ftp.el2
-rw-r--r--lisp/net/browse-url.el6
-rw-r--r--lisp/net/tramp-sh.el6
-rw-r--r--lisp/net/tramp.el2
4 files changed, 8 insertions, 8 deletions
diff --git a/lisp/net/ange-ftp.el b/lisp/net/ange-ftp.el
index d5c03e3f4ae..239da7829df 100644
--- a/lisp/net/ange-ftp.el
+++ b/lisp/net/ange-ftp.el
@@ -740,7 +740,7 @@ These mean that the FTP process should be (or already has been) killed."
740 :type 'regexp) 740 :type 'regexp)
741 741
742(defcustom ange-ftp-potential-error-msgs 742(defcustom ange-ftp-potential-error-msgs
743 ;; On Mac OS X we sometimes get things like: 743 ;; On macOS we sometimes get things like:
744 ;; 744 ;;
745 ;; ftp> open ftp.nluug.nl 745 ;; ftp> open ftp.nluug.nl
746 ;; Trying 2001:610:1:80aa:192:87:102:36... 746 ;; Trying 2001:610:1:80aa:192:87:102:36...
diff --git a/lisp/net/browse-url.el b/lisp/net/browse-url.el
index be859283891..68258d41666 100644
--- a/lisp/net/browse-url.el
+++ b/lisp/net/browse-url.el
@@ -44,7 +44,7 @@
44;; browse-url-text-* Any text browser 0 44;; browse-url-text-* Any text browser 0
45;; browse-url-generic arbitrary 45;; browse-url-generic arbitrary
46;; browse-url-default-windows-browser MS-Windows browser 46;; browse-url-default-windows-browser MS-Windows browser
47;; browse-url-default-macosx-browser Mac OS X browser 47;; browse-url-default-macosx-browser macOS browser
48;; browse-url-xdg-open Free Desktop xdg-open on Gnome, KDE, Xfce4, LXDE 48;; browse-url-xdg-open Free Desktop xdg-open on Gnome, KDE, Xfce4, LXDE
49;; browse-url-kde KDE konqueror (kfm) 49;; browse-url-kde KDE konqueror (kfm)
50;; browse-url-elinks Elinks Don't know (tried with 0.12.GIT) 50;; browse-url-elinks Elinks Don't know (tried with 0.12.GIT)
@@ -162,7 +162,7 @@ regexp should probably be \".\" to specify a default browser."
162 :value browse-url-generic) 162 :value browse-url-generic)
163 (function-item :tag "Default Windows browser" 163 (function-item :tag "Default Windows browser"
164 :value browse-url-default-windows-browser) 164 :value browse-url-default-windows-browser)
165 (function-item :tag "Default Mac OS X browser" 165 (function-item :tag "Default macOS browser"
166 :value browse-url-default-macosx-browser) 166 :value browse-url-default-macosx-browser)
167 (function-item :tag "Default browser" 167 (function-item :tag "Default browser"
168 :value browse-url-default-browser) 168 :value browse-url-default-browser)
@@ -870,7 +870,7 @@ The optional NEW-WINDOW argument is not used."
870 (t (w32-shell-execute "open" url)))) 870 (t (w32-shell-execute "open" url))))
871 871
872(defun browse-url-default-macosx-browser (url &optional _new-window) 872(defun browse-url-default-macosx-browser (url &optional _new-window)
873 "Invoke the MacOS X system's default Web browser. 873 "Invoke the macOS system's default Web browser.
874The optional NEW-WINDOW argument is not used" 874The optional NEW-WINDOW argument is not used"
875 (interactive (browse-url-interactive-arg "URL: ")) 875 (interactive (browse-url-interactive-arg "URL: "))
876 (start-process (concat "open " url) nil "open" url)) 876 (start-process (concat "open " url) nil "open" url))
diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el
index 2983d402fa3..842b1ce2880 100644
--- a/lisp/net/tramp-sh.el
+++ b/lisp/net/tramp-sh.el
@@ -1272,7 +1272,7 @@ target of the symlink differ."
1272 res-uid res-gid res-size res-symlink-target) 1272 res-uid res-gid res-size res-symlink-target)
1273 (tramp-message vec 5 "file attributes with ls: %s" localname) 1273 (tramp-message vec 5 "file attributes with ls: %s" localname)
1274 ;; We cannot send all three commands combined, it could exceed 1274 ;; We cannot send all three commands combined, it could exceed
1275 ;; NAME_MAX or PATH_MAX. Happened on Mac OS X, for example. 1275 ;; NAME_MAX or PATH_MAX. Happened on macOS, for example.
1276 (when (or (tramp-send-command-and-check 1276 (when (or (tramp-send-command-and-check
1277 vec 1277 vec
1278 (format "%s %s" 1278 (format "%s %s"
@@ -4263,7 +4263,7 @@ process to set up. VEC specifies the connection."
4263 (when (search-forward "\r" nil t) 4263 (when (search-forward "\r" nil t)
4264 (setq cs-decode (tramp-compat-coding-system-change-eol-conversion 4264 (setq cs-decode (tramp-compat-coding-system-change-eol-conversion
4265 cs-decode 'dos))) 4265 cs-decode 'dos)))
4266 ;; Special setting for Mac OS X. 4266 ;; Special setting for macOS.
4267 (when (and (string-match "^Darwin" uname) 4267 (when (and (string-match "^Darwin" uname)
4268 (memq 'utf-8-hfs (coding-system-list))) 4268 (memq 'utf-8-hfs (coding-system-list)))
4269 (setq cs-decode 'utf-8-hfs 4269 (setq cs-decode 'utf-8-hfs
@@ -4325,7 +4325,7 @@ process to set up. VEC specifies the connection."
4325 (tramp-send-command vec "stty tabs" t) 4325 (tramp-send-command vec "stty tabs" t)
4326 (tramp-send-command vec "stty tab0" t)) 4326 (tramp-send-command vec "stty tab0" t))
4327 4327
4328 ;; Set utf8 encoding. Needed for Mac OS X, for example. This is 4328 ;; Set utf8 encoding. Needed for macOS, for example. This is
4329 ;; non-POSIX, so we must expect errors on some systems. 4329 ;; non-POSIX, so we must expect errors on some systems.
4330 (tramp-send-command vec "stty iutf8 2>/dev/null" t) 4330 (tramp-send-command vec "stty iutf8 2>/dev/null" t)
4331 4331
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el
index cb8e4d4d4c3..5d8081cd815 100644
--- a/lisp/net/tramp.el
+++ b/lisp/net/tramp.el
@@ -1018,7 +1018,7 @@ this variable to be set as well."
1018 :type '(choice (const nil) integer)) 1018 :type '(choice (const nil) integer))
1019 1019
1020;; Logging in to a remote host normally requires obtaining a pty. But 1020;; Logging in to a remote host normally requires obtaining a pty. But
1021;; Emacs on MacOS X has process-connection-type set to nil by default, 1021;; Emacs on macOS has process-connection-type set to nil by default,
1022;; so on those systems Tramp doesn't obtain a pty. Here, we allow 1022;; so on those systems Tramp doesn't obtain a pty. Here, we allow
1023;; for an override of the system default. 1023;; for an override of the system default.
1024(defcustom tramp-process-connection-type t 1024(defcustom tramp-process-connection-type t