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 | |
| 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')
| -rw-r--r-- | lisp/arc-mode.el | 2 | ||||
| -rw-r--r-- | lisp/battery.el | 6 | ||||
| -rw-r--r-- | lisp/cedet/semantic/bovine/gcc.el | 2 | ||||
| -rw-r--r-- | lisp/faces.el | 2 | ||||
| -rw-r--r-- | lisp/gnus/auth-source.el | 16 | ||||
| -rw-r--r-- | lisp/international/mule-cmds.el | 2 | ||||
| -rw-r--r-- | lisp/international/ucs-normalize.el | 2 | ||||
| -rw-r--r-- | lisp/ls-lisp.el | 2 | ||||
| -rw-r--r-- | lisp/mail/emacsbug.el | 4 | ||||
| -rw-r--r-- | lisp/man.el | 2 | ||||
| -rw-r--r-- | lisp/menu-bar.el | 2 | ||||
| -rw-r--r-- | lisp/net/ange-ftp.el | 2 | ||||
| -rw-r--r-- | lisp/net/browse-url.el | 6 | ||||
| -rw-r--r-- | lisp/net/tramp-sh.el | 6 | ||||
| -rw-r--r-- | lisp/net/tramp.el | 2 | ||||
| -rw-r--r-- | lisp/org/org.el | 4 | ||||
| -rw-r--r-- | lisp/printing.el | 2 | ||||
| -rw-r--r-- | lisp/progmodes/gdb-mi.el | 10 | ||||
| -rw-r--r-- | lisp/progmodes/idlwave.el | 18 | ||||
| -rw-r--r-- | lisp/progmodes/python.el | 2 | ||||
| -rw-r--r-- | lisp/term/ns-win.el | 14 | ||||
| -rw-r--r-- | lisp/term/xterm.el | 2 | ||||
| -rw-r--r-- | lisp/textmodes/rst.el | 2 | ||||
| -rw-r--r-- | lisp/vc/pcvs.el | 4 |
24 files changed, 58 insertions, 58 deletions
diff --git a/lisp/arc-mode.el b/lisp/arc-mode.el index b5373c607d4..c42ca813e96 100644 --- a/lisp/arc-mode.el +++ b/lisp/arc-mode.el | |||
| @@ -1646,7 +1646,7 @@ This doesn't recover lost files, it just undoes changes in the buffer itself." | |||
| 1646 | ;; converts "\" to "/". | 1646 | ;; converts "\" to "/". |
| 1647 | ;; - For 0 generic: generic_to_unix_filename() downcases if there's | 1647 | ;; - For 0 generic: generic_to_unix_filename() downcases if there's |
| 1648 | ;; no lower case already present, and converts "\" to "/". | 1648 | ;; no lower case already present, and converts "\" to "/". |
| 1649 | ;; - For 'm' MacOS: macos_to_unix_filename() changes "/" to ":" and | 1649 | ;; - For 'm' macOS: macos_to_unix_filename() changes "/" to ":" and |
| 1650 | ;; ":" to "/" | 1650 | ;; ":" to "/" |
| 1651 | (setq fiddle (cond ((= ?M osid) t) | 1651 | (setq fiddle (cond ((= ?M osid) t) |
| 1652 | ((= 0 osid) (string= efnname (upcase efnname))))) | 1652 | ((= 0 osid) (string= efnname (upcase efnname))))) |
diff --git a/lisp/battery.el b/lisp/battery.el index b5e312f6c3e..20f3017fc45 100644 --- a/lisp/battery.el +++ b/lisp/battery.el | |||
| @@ -22,10 +22,10 @@ | |||
| 22 | 22 | ||
| 23 | ;;; Commentary: | 23 | ;;; Commentary: |
| 24 | 24 | ||
| 25 | ;; There is at present support for GNU/Linux, OS X and Windows. This | 25 | ;; There is at present support for GNU/Linux, macOS and Windows. This |
| 26 | ;; library supports both the `/proc/apm' file format of Linux version | 26 | ;; library supports both the `/proc/apm' file format of Linux version |
| 27 | ;; 1.3.58 or newer and the `/proc/acpi/' directory structure of Linux | 27 | ;; 1.3.58 or newer and the `/proc/acpi/' directory structure of Linux |
| 28 | ;; 2.4.20 and 2.6. Darwin (OS X) is supported by using the `pmset' | 28 | ;; 2.4.20 and 2.6. Darwin (macOS) is supported by using the `pmset' |
| 29 | ;; program. Windows is supported by the GetSystemPowerStatus API call. | 29 | ;; program. Windows is supported by the GetSystemPowerStatus API call. |
| 30 | 30 | ||
| 31 | ;;; Code: | 31 | ;;; Code: |
| @@ -600,7 +600,7 @@ The following %-sequences are provided: | |||
| 600 | (cons ?t (or remaining-time "N/A"))))) | 600 | (cons ?t (or remaining-time "N/A"))))) |
| 601 | 601 | ||
| 602 | 602 | ||
| 603 | ;;; `pmset' interface for Darwin (OS X). | 603 | ;;; `pmset' interface for Darwin (macOS). |
| 604 | 604 | ||
| 605 | (defun battery-pmset () | 605 | (defun battery-pmset () |
| 606 | "Get battery status information using `pmset'. | 606 | "Get battery status information using `pmset'. |
diff --git a/lisp/cedet/semantic/bovine/gcc.el b/lisp/cedet/semantic/bovine/gcc.el index ec292395f12..b56b268ca0d 100644 --- a/lisp/cedet/semantic/bovine/gcc.el +++ b/lisp/cedet/semantic/bovine/gcc.el | |||
| @@ -225,7 +225,7 @@ It should also include other symbols GCC was compiled with.") | |||
| 225 | (setq semantic-lex-c-preprocessor-symbol-map nil)) | 225 | (setq semantic-lex-c-preprocessor-symbol-map nil)) |
| 226 | (dolist (D defines) | 226 | (dolist (D defines) |
| 227 | (add-to-list 'semantic-lex-c-preprocessor-symbol-map D)) | 227 | (add-to-list 'semantic-lex-c-preprocessor-symbol-map D)) |
| 228 | ;; Needed for parsing OS X libc | 228 | ;; Needed for parsing macOS libc |
| 229 | (when (eq system-type 'darwin) | 229 | (when (eq system-type 'darwin) |
| 230 | (add-to-list 'semantic-lex-c-preprocessor-symbol-map '("__i386__" . ""))) | 230 | (add-to-list 'semantic-lex-c-preprocessor-symbol-map '("__i386__" . ""))) |
| 231 | (when (featurep 'semantic/bovine/c) | 231 | (when (featurep 'semantic/bovine/c) |
diff --git a/lisp/faces.el b/lisp/faces.el index b1ea0f0fc34..a84edab3615 100644 --- a/lisp/faces.el +++ b/lisp/faces.el | |||
| @@ -108,7 +108,7 @@ a font height that isn't optimal." | |||
| 108 | "Courier 10 Pitch" | 108 | "Courier 10 Pitch" |
| 109 | ;; This looks good on MS-Windows and OS X. | 109 | ;; This looks good on MS-Windows and OS X. |
| 110 | "Consolas" | 110 | "Consolas" |
| 111 | ;; This looks good on OS X. "Courier" looks good too, but is | 111 | ;; This looks good on macOS. "Courier" looks good too, but is |
| 112 | ;; jagged on GNU/Linux and so is listed later as "courier". | 112 | ;; jagged on GNU/Linux and so is listed later as "courier". |
| 113 | "Courier Std" | 113 | "Courier Std" |
| 114 | ;; Although these are anti-aliased, they are a bit faint compared | 114 | ;; Although these are anti-aliased, they are a bit faint compared |
diff --git a/lisp/gnus/auth-source.el b/lisp/gnus/auth-source.el index 52765ce6b31..df8f61ff380 100644 --- a/lisp/gnus/auth-source.el +++ b/lisp/gnus/auth-source.el | |||
| @@ -423,13 +423,13 @@ with \"[a/b/c] \" if CHOICES is \(?a ?b ?c)." | |||
| 423 | ;; Keychain collection matching any user, host, and protocol | 423 | ;; Keychain collection matching any user, host, and protocol |
| 424 | ((eq entry 'macos-keychain-generic) | 424 | ((eq entry 'macos-keychain-generic) |
| 425 | (auth-source-backend-parse '(:source (:macos-keychain-generic default)))) | 425 | (auth-source-backend-parse '(:source (:macos-keychain-generic default)))) |
| 426 | ;; take macos-keychain-internet:XYZ and recurse to get it as MacOS | 426 | ;; take macos-keychain-internet:XYZ and recurse to get it as macOS |
| 427 | ;; Keychain "XYZ" matching any user, host, and protocol | 427 | ;; Keychain "XYZ" matching any user, host, and protocol |
| 428 | ((and (stringp entry) (string-match "^macos-keychain-internet:\\(.+\\)" | 428 | ((and (stringp entry) (string-match "^macos-keychain-internet:\\(.+\\)" |
| 429 | entry)) | 429 | entry)) |
| 430 | (auth-source-backend-parse `(:source (:macos-keychain-internet | 430 | (auth-source-backend-parse `(:source (:macos-keychain-internet |
| 431 | ,(match-string 1 entry))))) | 431 | ,(match-string 1 entry))))) |
| 432 | ;; take macos-keychain-generic:XYZ and recurse to get it as MacOS | 432 | ;; take macos-keychain-generic:XYZ and recurse to get it as macOS |
| 433 | ;; Keychain "XYZ" matching any user, host, and protocol | 433 | ;; Keychain "XYZ" matching any user, host, and protocol |
| 434 | ((and (stringp entry) (string-match "^macos-keychain-generic:\\(.+\\)" | 434 | ((and (stringp entry) (string-match "^macos-keychain-generic:\\(.+\\)" |
| 435 | entry)) | 435 | entry)) |
| @@ -458,7 +458,7 @@ with \"[a/b/c] \" if CHOICES is \(?a ?b ?c)." | |||
| 458 | :search-function #'auth-source-netrc-search | 458 | :search-function #'auth-source-netrc-search |
| 459 | :create-function #'auth-source-netrc-create))) | 459 | :create-function #'auth-source-netrc-create))) |
| 460 | 460 | ||
| 461 | ;; the MacOS Keychain | 461 | ;; the macOS Keychain |
| 462 | ((and | 462 | ((and |
| 463 | (not (null (plist-get entry :source))) ; the source must not be nil | 463 | (not (null (plist-get entry :source))) ; the source must not be nil |
| 464 | (listp (plist-get entry :source)) ; and it must be a list | 464 | (listp (plist-get entry :source)) ; and it must be a list |
| @@ -1666,7 +1666,7 @@ authentication tokens: | |||
| 1666 | &key backend create delete | 1666 | &key backend create delete |
| 1667 | type max | 1667 | type max |
| 1668 | &allow-other-keys) | 1668 | &allow-other-keys) |
| 1669 | "Search the MacOS Keychain; spec is like `auth-source'. | 1669 | "Search the macOS Keychain; spec is like `auth-source'. |
| 1670 | 1670 | ||
| 1671 | All search keys must match exactly. If you need substring | 1671 | All search keys must match exactly. If you need substring |
| 1672 | matching, do a wider search and narrow it down yourself. | 1672 | matching, do a wider search and narrow it down yourself. |
| @@ -1688,13 +1688,13 @@ Similarly, :host maps to \"-c HOST\" (the \"creator\" keychain | |||
| 1688 | field), :user maps to \"-a USER\", and :port maps to \"-s PORT\". | 1688 | field), :user maps to \"-a USER\", and :port maps to \"-s PORT\". |
| 1689 | 1689 | ||
| 1690 | Here's an example that looks for the first item in the default | 1690 | Here's an example that looks for the first item in the default |
| 1691 | generic MacOS Keychain: | 1691 | generic macOS Keychain: |
| 1692 | 1692 | ||
| 1693 | (let ((auth-sources \\='(macos-keychain-generic))) | 1693 | (let ((auth-sources \\='(macos-keychain-generic))) |
| 1694 | (auth-source-search :max 1) | 1694 | (auth-source-search :max 1) |
| 1695 | 1695 | ||
| 1696 | Here's another that looks for the first item in the internet | 1696 | Here's another that looks for the first item in the internet |
| 1697 | MacOS Keychain collection whose label is `gnus': | 1697 | macOS Keychain collection whose label is `gnus': |
| 1698 | 1698 | ||
| 1699 | (let ((auth-sources \\='(macos-keychain-internet))) | 1699 | (let ((auth-sources \\='(macos-keychain-internet))) |
| 1700 | (auth-source-search :max 1 :label \"gnus\") | 1700 | (auth-source-search :max 1 :label \"gnus\") |
| @@ -1707,11 +1707,11 @@ entries for git.gnus.org: | |||
| 1707 | " | 1707 | " |
| 1708 | ;; TODO | 1708 | ;; TODO |
| 1709 | (assert (not create) nil | 1709 | (assert (not create) nil |
| 1710 | "The MacOS Keychain auth-source backend doesn't support creation yet") | 1710 | "The macOS Keychain auth-source backend doesn't support creation yet") |
| 1711 | ;; TODO | 1711 | ;; TODO |
| 1712 | ;; (macos-keychain-delete-item coll elt) | 1712 | ;; (macos-keychain-delete-item coll elt) |
| 1713 | (assert (not delete) nil | 1713 | (assert (not delete) nil |
| 1714 | "The MacOS Keychain auth-source backend doesn't support deletion yet") | 1714 | "The macOS Keychain auth-source backend doesn't support deletion yet") |
| 1715 | 1715 | ||
| 1716 | (let* ((coll (oref backend source)) | 1716 | (let* ((coll (oref backend source)) |
| 1717 | (max (or max 5000)) ; sanity check: default to stop at 5K | 1717 | (max (or max 5000)) ; sanity check: default to stop at 5K |
diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el index e7c7049cd0a..5008fd5f27b 100644 --- a/lisp/international/mule-cmds.el +++ b/lisp/international/mule-cmds.el | |||
| @@ -2723,7 +2723,7 @@ See also `locale-charset-language-names', `locale-language-names', | |||
| 2723 | ;; On Darwin, file names are always encoded in utf-8, no matter | 2723 | ;; On Darwin, file names are always encoded in utf-8, no matter |
| 2724 | ;; the locale. | 2724 | ;; the locale. |
| 2725 | (setq default-file-name-coding-system 'utf-8) | 2725 | (setq default-file-name-coding-system 'utf-8) |
| 2726 | ;; Mac OS X's Terminal.app by default uses utf-8 regardless of | 2726 | ;; macOS's Terminal.app by default uses utf-8 regardless of |
| 2727 | ;; the locale. | 2727 | ;; the locale. |
| 2728 | (when (and (null window-system) | 2728 | (when (and (null window-system) |
| 2729 | (equal (getenv "TERM_PROGRAM" frame) "Apple_Terminal")) | 2729 | (equal (getenv "TERM_PROGRAM" frame) "Apple_Terminal")) |
diff --git a/lisp/international/ucs-normalize.el b/lisp/international/ucs-normalize.el index 1e247c5dba5..29cd042eee9 100644 --- a/lisp/international/ucs-normalize.el +++ b/lisp/international/ucs-normalize.el | |||
| @@ -624,7 +624,7 @@ COMPOSITION-PREDICATE will be used to compose region." | |||
| 624 | 624 | ||
| 625 | ;;; coding-system definition | 625 | ;;; coding-system definition |
| 626 | (define-coding-system 'utf-8-hfs | 626 | (define-coding-system 'utf-8-hfs |
| 627 | "UTF-8 based coding system for MacOS HFS file names. | 627 | "UTF-8 based coding system for macOS HFS file names. |
| 628 | The singleton characters in HFS normalization exclusion will not | 628 | The singleton characters in HFS normalization exclusion will not |
| 629 | be decomposed." | 629 | be decomposed." |
| 630 | :coding-type 'utf-8 | 630 | :coding-type 'utf-8 |
diff --git a/lisp/ls-lisp.el b/lisp/ls-lisp.el index 85e91cdadc0..41587bfe144 100644 --- a/lisp/ls-lisp.el +++ b/lisp/ls-lisp.el | |||
| @@ -75,7 +75,7 @@ | |||
| 75 | ((memq system-type '(hpux usg-unix-v irix berkeley-unix)) | 75 | ((memq system-type '(hpux usg-unix-v irix berkeley-unix)) |
| 76 | 'UNIX)) ; very similar to GNU | 76 | 'UNIX)) ; very similar to GNU |
| 77 | ;; Anything else defaults to nil, meaning GNU. | 77 | ;; Anything else defaults to nil, meaning GNU. |
| 78 | "Platform to emulate: GNU (default), MacOS, MS-Windows, UNIX. | 78 | "Platform to emulate: GNU (default), macOS, MS-Windows, UNIX. |
| 79 | Corresponding value is one of: nil, `MacOS', `MS-Windows', `UNIX'. | 79 | Corresponding value is one of: nil, `MacOS', `MS-Windows', `UNIX'. |
| 80 | Set this to your preferred value; it need not match the actual platform | 80 | Set this to your preferred value; it need not match the actual platform |
| 81 | you are using. | 81 | you are using. |
diff --git a/lisp/mail/emacsbug.el b/lisp/mail/emacsbug.el index ce3c50bce2b..86aefe4a6dd 100644 --- a/lisp/mail/emacsbug.el +++ b/lisp/mail/emacsbug.el | |||
| @@ -72,7 +72,7 @@ | |||
| 72 | (defvar message-strip-special-text-properties) | 72 | (defvar message-strip-special-text-properties) |
| 73 | 73 | ||
| 74 | (defun report-emacs-bug-can-use-osx-open () | 74 | (defun report-emacs-bug-can-use-osx-open () |
| 75 | "Return non-nil if the OS X \"open\" command is available for mailing." | 75 | "Return non-nil if the macOS \"open\" command is available for mailing." |
| 76 | (and (featurep 'ns) | 76 | (and (featurep 'ns) |
| 77 | (equal (executable-find "open") "/usr/bin/open") | 77 | (equal (executable-find "open") "/usr/bin/open") |
| 78 | (memq system-type '(darwin)))) | 78 | (memq system-type '(darwin)))) |
| @@ -107,7 +107,7 @@ This requires you to be running either Gnome, KDE, or Xfce4." | |||
| 107 | 107 | ||
| 108 | (defun report-emacs-bug-insert-to-mailer () | 108 | (defun report-emacs-bug-insert-to-mailer () |
| 109 | "Send the message to your preferred mail client. | 109 | "Send the message to your preferred mail client. |
| 110 | This requires either the OS X \"open\" command, or the freedesktop | 110 | This requires either the macOS \"open\" command, or the freedesktop |
| 111 | \"xdg-email\" command to be available." | 111 | \"xdg-email\" command to be available." |
| 112 | (interactive) | 112 | (interactive) |
| 113 | (save-excursion | 113 | (save-excursion |
diff --git a/lisp/man.el b/lisp/man.el index 5acf90baf28..94b9e0d04da 100644 --- a/lisp/man.el +++ b/lisp/man.el | |||
| @@ -887,7 +887,7 @@ test/automated/man-tests.el in the emacs repository." | |||
| 887 | (setq default-directory "/") ;; in case inherited doesn't exist | 887 | (setq default-directory "/") ;; in case inherited doesn't exist |
| 888 | ;; Actually for my `man' the arg is a regexp. | 888 | ;; Actually for my `man' the arg is a regexp. |
| 889 | ;; POSIX says it must be ERE and "man-db" seems to agree, | 889 | ;; POSIX says it must be ERE and "man-db" seems to agree, |
| 890 | ;; whereas under MacOSX it seems to be BRE-style and doesn't | 890 | ;; whereas under macOS it seems to be BRE-style and doesn't |
| 891 | ;; accept backslashes at all. Let's not bother to | 891 | ;; accept backslashes at all. Let's not bother to |
| 892 | ;; quote anything. | 892 | ;; quote anything. |
| 893 | (let ((process-environment (copy-sequence process-environment))) | 893 | (let ((process-environment (copy-sequence process-environment))) |
diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el index 640395e8d7d..ba1bf34d1a5 100644 --- a/lisp/menu-bar.el +++ b/lisp/menu-bar.el | |||
| @@ -1865,7 +1865,7 @@ key, a click, or a menu-item")) | |||
| 1865 | '(menu-item "Emacs Tutorial" help-with-tutorial | 1865 | '(menu-item "Emacs Tutorial" help-with-tutorial |
| 1866 | :help "Learn how to use Emacs")) | 1866 | :help "Learn how to use Emacs")) |
| 1867 | 1867 | ||
| 1868 | ;; In OS X it's in the app menu already. | 1868 | ;; In macOS it's in the app menu already. |
| 1869 | ;; FIXME? There already is an "About Emacs" (sans ...) entry in the Help menu. | 1869 | ;; FIXME? There already is an "About Emacs" (sans ...) entry in the Help menu. |
| 1870 | (and (featurep 'ns) | 1870 | (and (featurep 'ns) |
| 1871 | (not (eq system-type 'darwin)) | 1871 | (not (eq system-type 'darwin)) |
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. |
| 874 | The optional NEW-WINDOW argument is not used" | 874 | The 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 |
diff --git a/lisp/org/org.el b/lisp/org/org.el index 13e4a222131..eb01426533d 100644 --- a/lisp/org/org.el +++ b/lisp/org/org.el | |||
| @@ -1937,7 +1937,7 @@ See `org-file-apps'.") | |||
| 1937 | ("eps.gz" . "gv %s") | 1937 | ("eps.gz" . "gv %s") |
| 1938 | ("dvi" . "xdvi %s") | 1938 | ("dvi" . "xdvi %s") |
| 1939 | ("fig" . "xfig %s")) | 1939 | ("fig" . "xfig %s")) |
| 1940 | "Default file applications on a MacOS X system. | 1940 | "Default file applications on a macOS system. |
| 1941 | The system \"open\" is known as a default, but we use X11 applications | 1941 | The system \"open\" is known as a default, but we use X11 applications |
| 1942 | for some files for which the OS does not have a good default. | 1942 | for some files for which the OS does not have a good default. |
| 1943 | See `org-file-apps'.") | 1943 | See `org-file-apps'.") |
| @@ -2012,7 +2012,7 @@ file identifier are | |||
| 2012 | (\"html\" . default) to the list as well. | 2012 | (\"html\" . default) to the list as well. |
| 2013 | t Default for files not matched by any of the other options. | 2013 | t Default for files not matched by any of the other options. |
| 2014 | `system' The system command to open files, like `open' on Windows | 2014 | `system' The system command to open files, like `open' on Windows |
| 2015 | and Mac OS X, and mailcap under GNU/Linux. This is the command | 2015 | and macOS, and mailcap under GNU/Linux. This is the command |
| 2016 | that will be selected if you call `C-c C-o' with a double | 2016 | that will be selected if you call `C-c C-o' with a double |
| 2017 | \\[universal-argument] \\[universal-argument] prefix. | 2017 | \\[universal-argument] \\[universal-argument] prefix. |
| 2018 | 2018 | ||
diff --git a/lisp/printing.el b/lisp/printing.el index d9cc2a3614a..72f825fcb89 100644 --- a/lisp/printing.el +++ b/lisp/printing.el | |||
| @@ -2272,7 +2272,7 @@ Useful links: | |||
| 2272 | * gv 3.5, June 1997 | 2272 | * gv 3.5, June 1997 |
| 2273 | `http://www.cs.wisc.edu/~ghost/gv/gv_doc/gv.html' | 2273 | `http://www.cs.wisc.edu/~ghost/gv/gv_doc/gv.html' |
| 2274 | 2274 | ||
| 2275 | * MacGSView (MacOS) | 2275 | * MacGSView (Mac OS) |
| 2276 | `http://www.cs.wisc.edu/~ghost/macos/index.htm' | 2276 | `http://www.cs.wisc.edu/~ghost/macos/index.htm' |
| 2277 | " | 2277 | " |
| 2278 | :type '(string :tag "Ghostview Utility") | 2278 | :type '(string :tag "Ghostview Utility") |
diff --git a/lisp/progmodes/gdb-mi.el b/lisp/progmodes/gdb-mi.el index d243650d73a..978b81699fc 100644 --- a/lisp/progmodes/gdb-mi.el +++ b/lisp/progmodes/gdb-mi.el | |||
| @@ -69,12 +69,12 @@ | |||
| 69 | ;; 2) Use MinGW GDB instead. | 69 | ;; 2) Use MinGW GDB instead. |
| 70 | ;; 3) Use cygwin-mount.el | 70 | ;; 3) Use cygwin-mount.el |
| 71 | 71 | ||
| 72 | ;;; Mac OSX: | 72 | ;;; macOS: |
| 73 | 73 | ||
| 74 | ;; GDB in Emacs on Mac OSX works best with FSF GDB as Apple have made | 74 | ;; GDB in Emacs on macOS works best with FSF GDB as Apple have made |
| 75 | ;; some changes to the version that they include as part of Mac OSX. | 75 | ;; some changes to the version that they include as part of macOS. |
| 76 | ;; This requires GDB version 7.0 or later (estimated release date Aug 2009) | 76 | ;; This requires GDB version 7.0 or later as earlier versions do not |
| 77 | ;; as earlier versions do not compile on Mac OSX. | 77 | ;; compile on macOS. |
| 78 | 78 | ||
| 79 | ;;; Known Bugs: | 79 | ;;; Known Bugs: |
| 80 | 80 | ||
diff --git a/lisp/progmodes/idlwave.el b/lisp/progmodes/idlwave.el index 9cb2ca74063..bc607ac4019 100644 --- a/lisp/progmodes/idlwave.el +++ b/lisp/progmodes/idlwave.el | |||
| @@ -420,22 +420,22 @@ A value of t means to show all source files." | |||
| 420 | :type 'integer) | 420 | :type 'integer) |
| 421 | 421 | ||
| 422 | (defcustom idlwave-library-path nil | 422 | (defcustom idlwave-library-path nil |
| 423 | "Library path for Windows and MacOS (OS9). Not needed under UNIX. | 423 | "Library path for Windows and Mac OS (OS9). Not needed under UNIX. |
| 424 | When selecting the directories to scan for IDL user catalog routine | 424 | When selecting the directories to scan for IDL user catalog routine |
| 425 | info, IDLWAVE can, under UNIX, query the shell for the exact search | 425 | info, IDLWAVE can, under UNIX, query the shell for the exact search |
| 426 | path \(the value of !PATH). However, under Windows and MacOS | 426 | path (the value of !PATH). However, under MS-Windows, the |
| 427 | \(pre-OSX), the IDLWAVE shell does not work. In this case, this | 427 | IDLWAVE shell does not work. In this case, this variable can be |
| 428 | variable can be set to specify the paths where IDLWAVE can find PRO | 428 | set to specify the paths where IDLWAVE can find PRO files. The |
| 429 | files. The shell will only be asked for a list of paths when this | 429 | shell will only be asked for a list of paths when this variable |
| 430 | variable is nil. The value is a list of directories. A directory | 430 | is nil. The value is a list of directories. A directory |
| 431 | preceded by a `+' will be searched recursively. If you set this | 431 | preceded by a `+' will be searched recursively. If you set this |
| 432 | variable on a UNIX system, the shell will not be queried. See also | 432 | variable on a UNIX system, the shell will not be queried. See |
| 433 | `idlwave-system-directory'." | 433 | also `idlwave-system-directory'." |
| 434 | :group 'idlwave-routine-info | 434 | :group 'idlwave-routine-info |
| 435 | :type '(repeat (directory))) | 435 | :type '(repeat (directory))) |
| 436 | 436 | ||
| 437 | (defcustom idlwave-system-directory "" | 437 | (defcustom idlwave-system-directory "" |
| 438 | "The IDL system directory for Windows and MacOS. Not needed under | 438 | "The IDL system directory for Windows and Mac OS. Not needed under |
| 439 | UNIX. Set this to the value of the `!DIR' system variable in IDL. | 439 | UNIX. Set this to the value of the `!DIR' system variable in IDL. |
| 440 | IDLWAVE uses this to find out which of the library routines belong to | 440 | IDLWAVE uses this to find out which of the library routines belong to |
| 441 | the official system library. All files inside the `lib' subdirectory | 441 | the official system library. All files inside the `lib' subdirectory |
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 3fae3987b22..8ec9febe5c9 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -2414,7 +2414,7 @@ banner and the initial prompt are received separately." | |||
| 2414 | (defun python-shell-comint-end-of-output-p (output) | 2414 | (defun python-shell-comint-end-of-output-p (output) |
| 2415 | "Return non-nil if OUTPUT is ends with input prompt." | 2415 | "Return non-nil if OUTPUT is ends with input prompt." |
| 2416 | (string-match | 2416 | (string-match |
| 2417 | ;; XXX: It seems on OSX an extra carriage return is attached | 2417 | ;; XXX: It seems on macOS an extra carriage return is attached |
| 2418 | ;; at the end of output, this handles that too. | 2418 | ;; at the end of output, this handles that too. |
| 2419 | (concat | 2419 | (concat |
| 2420 | "\r?\n?" | 2420 | "\r?\n?" |
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) |
diff --git a/lisp/textmodes/rst.el b/lisp/textmodes/rst.el index 3d4854e89d6..aea8e7072ea 100644 --- a/lisp/textmodes/rst.el +++ b/lisp/textmodes/rst.el | |||
| @@ -645,7 +645,7 @@ as well but give an additional message." | |||
| 645 | ;; | 645 | ;; |
| 646 | ;; The adjustment function that adorns or rotates a section title. | 646 | ;; The adjustment function that adorns or rotates a section title. |
| 647 | (rst-define-key map [?\C-c ?\C-=] 'rst-adjust [?\C-c ?\C-a t]) | 647 | (rst-define-key map [?\C-c ?\C-=] 'rst-adjust [?\C-c ?\C-a t]) |
| 648 | (rst-define-key map [?\C-=] 'rst-adjust) ; Does not work on the Mac OSX and | 648 | (rst-define-key map [?\C-=] 'rst-adjust) ; Does not work on macOS and |
| 649 | ; on consoles. | 649 | ; on consoles. |
| 650 | 650 | ||
| 651 | ;; \C-c \C-a is the keymap for adornments. | 651 | ;; \C-c \C-a is the keymap for adornments. |
diff --git a/lisp/vc/pcvs.el b/lisp/vc/pcvs.el index 573feedd047..b0ad5ea588d 100644 --- a/lisp/vc/pcvs.el +++ b/lisp/vc/pcvs.el | |||
| @@ -551,7 +551,7 @@ If non-nil, NEW means to create a new buffer no matter what." | |||
| 551 | ;; is accessed via SSH, a bad interaction between libc, | 551 | ;; is accessed via SSH, a bad interaction between libc, |
| 552 | ;; CVS and SSH can lead to garbled output. | 552 | ;; CVS and SSH can lead to garbled output. |
| 553 | ;; It might be a glibc-specific problem (but it can also happens | 553 | ;; It might be a glibc-specific problem (but it can also happens |
| 554 | ;; under Mac OS X, it seems). | 554 | ;; under macOS, it seems). |
| 555 | ;; It seems that using a pty can help circumvent the problem, | 555 | ;; It seems that using a pty can help circumvent the problem, |
| 556 | ;; but at the cost of screwing up when the process thinks it | 556 | ;; but at the cost of screwing up when the process thinks it |
| 557 | ;; can ask for user input (such as password or host-key | 557 | ;; can ask for user input (such as password or host-key |
| @@ -696,7 +696,7 @@ SUBDIR is the subdirectory (if any) where this command was run. | |||
| 696 | OLD-FIS is the list of fileinfos on which the cvs command was applied and | 696 | OLD-FIS is the list of fileinfos on which the cvs command was applied and |
| 697 | which should be considered up-to-date if they are missing from the output." | 697 | which should be considered up-to-date if they are missing from the output." |
| 698 | (when (eq system-type 'darwin) | 698 | (when (eq system-type 'darwin) |
| 699 | ;; Fixup the ^D^H^H inserted at beginning of buffer sometimes on MacOSX | 699 | ;; Fixup the ^D^H^H inserted at beginning of buffer sometimes on macOS |
| 700 | ;; because of the call to `process-send-eof'. | 700 | ;; because of the call to `process-send-eof'. |
| 701 | (save-excursion | 701 | (save-excursion |
| 702 | (goto-char (point-min)) | 702 | (goto-char (point-min)) |