aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorGlenn Morris2017-04-08 13:16:08 -0700
committerGlenn Morris2017-04-08 13:16:08 -0700
commitbca1fde85f44d0cb04aec25b0a93d37bbd757460 (patch)
tree1fbc47f3b0b15acbfddb73eacf61ad58940ede79 /lisp
parentb7d61609bd2a5a97b63733a4c16194850e48de2a (diff)
downloademacs-bca1fde85f44d0cb04aec25b0a93d37bbd757460.tar.gz
emacs-bca1fde85f44d0cb04aec25b0a93d37bbd757460.zip
Remove references to OS/2 in code, doc, and comments
* lisp/gnus/nnheader.el (nnheader-read-timeout) (nnheader-file-name-translation-alist): Remove OS/2 case, and simplify. * lisp/emulation/viper-util.el (viper-color-defined-p): * lisp/net/pop3.el (pop3-read-timeout): * lisp/net/imap.el (imap-read-timeout): * lisp/url/url-privacy.el (url-setup-privacy-info): Remove OS/2 case. * lisp/emulation/viper-ex.el (viper-glob-function): * lisp/vc/ediff-util.el (ediff-submit-report): Doc fix. * lisp/cus-edit.el (custom-display): Remove "pm" (OS/2). * doc/emacs/msdos-xtra.texi (MS-DOS): * doc/misc/gnus.texi (Various Various): * doc/misc/viper.texi (Rudimentary Changes): Remove mentions of OS/2. ; * lisp/url/url.el, lisp/url/url-vars.el: ; * lisp/progmodes/cperl-mode.el: Remove old comments.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/cus-edit.el4
-rw-r--r--lisp/emulation/viper-ex.el3
-rw-r--r--lisp/emulation/viper-util.el7
-rw-r--r--lisp/gnus/nnheader.el16
-rw-r--r--lisp/net/imap.el4
-rw-r--r--lisp/net/pop3.el3
-rw-r--r--lisp/progmodes/cperl-mode.el10
-rw-r--r--lisp/url/url-privacy.el1
-rw-r--r--lisp/url/url-vars.el4
-rw-r--r--lisp/url/url.el3
-rw-r--r--lisp/vc/ediff-util.el18
11 files changed, 17 insertions, 56 deletions
diff --git a/lisp/cus-edit.el b/lisp/cus-edit.el
index fac9c77e12a..f408e835769 100644
--- a/lisp/cus-edit.el
+++ b/lisp/cus-edit.el
@@ -3246,10 +3246,6 @@ Only match the specified window systems.")
3246 :sibling-args (:help-echo "\ 3246 :sibling-args (:help-echo "\
3247The X11 Window System.") 3247The X11 Window System.")
3248 x) 3248 x)
3249 (const :format "PM "
3250 :sibling-args (:help-echo "\
3251OS/2 Presentation Manager.")
3252 pm)
3253 (const :format "W32 " 3249 (const :format "W32 "
3254 :sibling-args (:help-echo "\ 3250 :sibling-args (:help-echo "\
3255MS Windows.") 3251MS Windows.")
diff --git a/lisp/emulation/viper-ex.el b/lisp/emulation/viper-ex.el
index edc71ea859b..ca067033e63 100644
--- a/lisp/emulation/viper-ex.el
+++ b/lisp/emulation/viper-ex.el
@@ -326,8 +326,7 @@ Don't put `-c' here, as it is added automatically."
326 (t 'viper-glob-unix-files) ; presumably UNIX 326 (t 'viper-glob-unix-files) ; presumably UNIX
327 ) 327 )
328 "Expand the file spec containing wildcard symbols. 328 "Expand the file spec containing wildcard symbols.
329The default tries to set this variable to work with Unix, Windows, 329The default tries to set this variable to work with Unix or MS Windows.
330and OS/2.
331 330
332However, if it doesn't work right for some types of Unix shells or some OS, 331However, if it doesn't work right for some types of Unix shells or some OS,
333the user should supply the appropriate function and set this variable to the 332the user should supply the appropriate function and set this variable to the
diff --git a/lisp/emulation/viper-util.el b/lisp/emulation/viper-util.el
index e6fd6095dc2..e32b41f5750 100644
--- a/lisp/emulation/viper-util.el
+++ b/lisp/emulation/viper-util.el
@@ -29,7 +29,6 @@
29 29
30;; Compiler pacifier 30;; Compiler pacifier
31(defvar viper-overriding-map) 31(defvar viper-overriding-map)
32(defvar pm-color-alist)
33(defvar viper-minibuffer-current-face) 32(defvar viper-minibuffer-current-face)
34(defvar viper-minibuffer-insert-face) 33(defvar viper-minibuffer-insert-face)
35(defvar viper-minibuffer-vi-face) 34(defvar viper-minibuffer-vi-face)
@@ -132,12 +131,6 @@ Otherwise return the normal value."
132 (if fp (cdr fp) 131 (if fp (cdr fp)
133 ,variable))))) 132 ,variable)))))
134 133
135;; OS/2
136(cond ((eq (viper-device-type) 'pm)
137 (fset 'viper-color-defined-p
138 (lambda (color) (assoc color pm-color-alist)))))
139
140
141;; cursor colors 134;; cursor colors
142(defun viper-change-cursor-color (new-color &optional frame) 135(defun viper-change-cursor-color (new-color &optional frame)
143 (if (and (viper-window-display-p) (viper-color-display-p) 136 (if (and (viper-window-display-p) (viper-color-display-p)
diff --git a/lisp/gnus/nnheader.el b/lisp/gnus/nnheader.el
index 648485b4f61..cc3dccea25f 100644
--- a/lisp/gnus/nnheader.el
+++ b/lisp/gnus/nnheader.el
@@ -82,8 +82,7 @@ Integer values will in effect be rounded up to the nearest multiple of
82 :type 'integer) 82 :type 'integer)
83 83
84(defvar nnheader-read-timeout 84(defvar nnheader-read-timeout
85 (if (string-match "windows-nt\\|os/2\\|cygwin" 85 (if (memq system-type '(windows-nt cygwin))
86 (symbol-name system-type))
87 ;; http://thread.gmane.org/v9655t3pjo.fsf@marauder.physik.uni-ulm.de 86 ;; http://thread.gmane.org/v9655t3pjo.fsf@marauder.physik.uni-ulm.de
88 ;; 87 ;;
89 ;; IIRC, values lower than 1.0 didn't/don't work on Windows/DOS. 88 ;; IIRC, values lower than 1.0 didn't/don't work on Windows/DOS.
@@ -105,17 +104,8 @@ Integer values will in effect be rounded up to the nearest multiple of
105Shorter values mean quicker response, but are more CPU intensive.") 104Shorter values mean quicker response, but are more CPU intensive.")
106 105
107(defcustom nnheader-file-name-translation-alist 106(defcustom nnheader-file-name-translation-alist
108 (let ((case-fold-search t)) 107 (if (memq system-type '(windows-nt cygwin))
109 (cond 108 (mapcar (lambda (c) (cons c ?_)) '(?: ?* ?\" ?< ?> ??)))
110 ((string-match "windows-nt\\|os/2\\|cygwin"
111 (symbol-name system-type))
112 (append (mapcar (lambda (c) (cons c ?_))
113 '(?: ?* ?\" ?< ?> ??))
114 (if (string-match "windows-nt\\|cygwin"
115 (symbol-name system-type))
116 nil
117 '((?+ . ?-)))))
118 (t nil)))
119 "Alist that says how to translate characters in file names. 109 "Alist that says how to translate characters in file names.
120For instance, if \":\" is invalid as a file character in file names 110For instance, if \":\" is invalid as a file character in file names
121on your system, you could say something like: 111on your system, you could say something like:
diff --git a/lisp/net/imap.el b/lisp/net/imap.el
index ada2c477e9e..7b293921a43 100644
--- a/lisp/net/imap.el
+++ b/lisp/net/imap.el
@@ -249,9 +249,7 @@ See also `imap-log'."
249 :group 'imap 249 :group 'imap
250 :type 'string) 250 :type 'string)
251 251
252(defcustom imap-read-timeout (if (string-match 252(defcustom imap-read-timeout (if (memq system-type '(windows-nt cygwin))
253 "windows-nt\\|os/2\\|cygwin"
254 (symbol-name system-type))
255 1.0 253 1.0
256 0.1) 254 0.1)
257 "How long to wait between checking for the end of output. 255 "How long to wait between checking for the end of output.
diff --git a/lisp/net/pop3.el b/lisp/net/pop3.el
index 6230a15c85b..2ef63217256 100644
--- a/lisp/net/pop3.el
+++ b/lisp/net/pop3.el
@@ -159,8 +159,7 @@ Used for APOP authentication.")
159 (defalias 'pop3-accept-process-output 'nnheader-accept-process-output) 159 (defalias 'pop3-accept-process-output 'nnheader-accept-process-output)
160 ;; Borrowed from `nnheader.el': 160 ;; Borrowed from `nnheader.el':
161 (defvar pop3-read-timeout 161 (defvar pop3-read-timeout
162 (if (string-match "windows-nt\\|os/2\\|cygwin" 162 (if (memq system-type '(windows-nt cygwin))
163 (symbol-name system-type))
164 1.0 163 1.0
165 0.01) 164 0.01)
166 "How long pop3 should wait between checking for the end of output. 165 "How long pop3 should wait between checking for the end of output.
diff --git a/lisp/progmodes/cperl-mode.el b/lisp/progmodes/cperl-mode.el
index f4cb478e028..23ea91fe95b 100644
--- a/lisp/progmodes/cperl-mode.el
+++ b/lisp/progmodes/cperl-mode.el
@@ -1922,10 +1922,7 @@ or as help on variables `cperl-tips', `cperl-problems',
1922 (perldb (read-from-minibuffer "Run perldb (like this): " 1922 (perldb (read-from-minibuffer "Run perldb (like this): "
1923 (if (consp gud-perldb-history) 1923 (if (consp gud-perldb-history)
1924 (car gud-perldb-history) 1924 (car gud-perldb-history)
1925 (concat "perl " ;;(file-name-nondirectory 1925 (concat "perl "
1926 ;; I have problems
1927 ;; in OS/2
1928 ;; otherwise
1929 (buffer-file-name))) 1926 (buffer-file-name)))
1930 nil nil 1927 nil nil
1931 '(gud-perldb-history . 1)))) 1928 '(gud-perldb-history . 1))))
@@ -6644,7 +6641,6 @@ Customized by setting variables `cperl-shrink-wrap-info-frame',
6644 (if not-loner 6641 (if not-loner
6645 (/ (* (- frheight 3) cperl-max-help-size) 100) 6642 (/ (* (- frheight 3) cperl-max-help-size) 100)
6646 (setq char-height (frame-char-height)) 6643 (setq char-height (frame-char-height))
6647 ;; Non-functioning under OS/2:
6648 (if (eq char-height 1) (setq char-height 18)) 6644 (if (eq char-height 1) (setq char-height 18))
6649 ;; Title, menubar, + 2 for slack 6645 ;; Title, menubar, + 2 for slack
6650 (- (/ (display-pixel-height) char-height) 4))) 6646 (- (/ (display-pixel-height) char-height) 4)))
@@ -7010,7 +7006,7 @@ Does not move point."
7010 (setq pos (point)) 7006 (setq pos (point))
7011 (goto-char 1) 7007 (goto-char 1)
7012 (setq rel file) 7008 (setq rel file)
7013 ;; On case-preserving filesystems (EMX on OS/2) case might be encoded in properties 7009 ;; On case-preserving filesystems case might be encoded in properties
7014 (set-text-properties 0 (length rel) nil rel) 7010 (set-text-properties 0 (length rel) nil rel)
7015 (and (equal topdir (substring rel 0 (length topdir))) 7011 (and (equal topdir (substring rel 0 (length topdir)))
7016 (setq rel (substring file (length topdir)))) 7012 (setq rel (substring file (length topdir))))
@@ -7103,7 +7099,7 @@ Use as
7103 (t 7099 (t
7104 (goto-char 1) 7100 (goto-char 1)
7105 (setq rel file) 7101 (setq rel file)
7106 ;; On case-preserving filesystems (EMX on OS/2) case might be encoded in properties 7102 ;; On case-preserving filesystems case might be encoded in properties
7107 (set-text-properties 0 (length rel) nil rel) 7103 (set-text-properties 0 (length rel) nil rel)
7108 (and (equal topdir (substring rel 0 (length topdir))) 7104 (and (equal topdir (substring rel 0 (length topdir)))
7109 (setq rel (substring file (length topdir)))) 7105 (setq rel (substring file (length topdir))))
diff --git a/lisp/url/url-privacy.el b/lisp/url/url-privacy.el
index b27d76bab5d..90dfb275132 100644
--- a/lisp/url/url-privacy.el
+++ b/lisp/url/url-privacy.el
@@ -43,7 +43,6 @@
43 ((eq system-type 'windows-nt) "Windows-NT; 32bit") 43 ((eq system-type 'windows-nt) "Windows-NT; 32bit")
44 ((eq system-type 'ms-dos) "MS-DOS; 32bit") 44 ((eq system-type 'ms-dos) "MS-DOS; 32bit")
45 ((memq (url-device-type) '(win32 w32)) "Windows; 32bit") 45 ((memq (url-device-type) '(win32 w32)) "Windows; 32bit")
46 ((eq (url-device-type) 'pm) "OS/2; 32bit")
47 (t 46 (t
48 (pcase (url-device-type) 47 (pcase (url-device-type)
49 (`x "X11") 48 (`x "X11")
diff --git a/lisp/url/url-vars.el b/lisp/url/url-vars.el
index d6c4667da46..f08779f6950 100644
--- a/lisp/url/url-vars.el
+++ b/lisp/url/url-vars.el
@@ -410,10 +410,6 @@ Should be one of:
410 :group 'url 410 :group 'url
411 :type 'hook) 411 :type 'hook)
412 412
413;;; Make OS/2 happy - yeeks
414;; (defvar tcp-binary-process-input-services nil
415;; "*Make OS/2 happy with our CRLF pairs...")
416
417(defconst url-working-buffer " *url-work") 413(defconst url-working-buffer " *url-work")
418 414
419(defvar url-gateway-unplugged nil 415(defvar url-gateway-unplugged nil
diff --git a/lisp/url/url.el b/lisp/url/url.el
index 75cf77deaa4..be6377ceb3a 100644
--- a/lisp/url/url.el
+++ b/lisp/url/url.el
@@ -58,9 +58,6 @@ This is to avoid conflict with user settings if URL is dumped with
58Emacs." 58Emacs."
59 (unless url-setup-done 59 (unless url-setup-done
60 60
61 ;; Make OS/2 happy
62 ;;(push '("http" "80") tcp-binary-process-input-services)
63
64 (mailcap-parse-mailcaps) 61 (mailcap-parse-mailcaps)
65 (mailcap-parse-mimetypes) 62 (mailcap-parse-mimetypes)
66 63
diff --git a/lisp/vc/ediff-util.el b/lisp/vc/ediff-util.el
index 549066e1eca..aea5f76d4fc 100644
--- a/lisp/vc/ediff-util.el
+++ b/lisp/vc/ediff-util.el
@@ -3277,16 +3277,14 @@ Hit \\[ediff-recenter] to reset the windows afterward."
3277 file)) 3277 file))
3278 3278
3279 3279
3280;; Quote metacharacters (using \) when executing diff in Unix, but not in 3280;; Quote metacharacters (using \) when executing diff in Unix.
3281;; EMX OS/2
3282;;(defun ediff-protect-metachars (str) 3281;;(defun ediff-protect-metachars (str)
3283;; (or (memq system-type '(emx)) 3282;; (let ((limit 0))
3284;; (let ((limit 0)) 3283;; (while (string-match ediff-metachars str limit)
3285;; (while (string-match ediff-metachars str limit) 3284;; (setq str (concat (substring str 0 (match-beginning 0))
3286;; (setq str (concat (substring str 0 (match-beginning 0)) 3285;; "\\"
3287;; "\\" 3286;; (substring str (match-beginning 0))))
3288;; (substring str (match-beginning 0)))) 3287;; (setq limit (1+ (match-end 0)))))
3289;; (setq limit (1+ (match-end 0))))))
3290;; str) 3288;; str)
3291 3289
3292;; Make sure the current buffer (for a file) has the same contents as the 3290;; Make sure the current buffer (for a file) has the same contents as the
@@ -4059,7 +4057,7 @@ interfaces to several other packages and runs under Emacs and XEmacs,
4059byte-compilation may produce output like this: 4057byte-compilation may produce output like this:
4060 4058
4061 While compiling toplevel forms in file ediff.el: 4059 While compiling toplevel forms in file ediff.el:
4062 ** reference to free variable pm-color-alist 4060 ** reference to free variable zzz
4063 ........................ 4061 ........................
4064 While compiling the end of the data: 4062 While compiling the end of the data:
4065 ** The following functions are not known to be defined: 4063 ** The following functions are not known to be defined: