Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
a3374680
Commit
a3374680
authored
Aug 22, 2009
by
Glenn Morris
Browse files
Remove code for defunct system-types emx, macos, mswindows,
unisoft-unix, vax-vms, win32, w32.
parent
3f12e3f4
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
26 additions
and
20 deletions
+26
-20
lisp/ChangeLog
lisp/ChangeLog
+12
-0
lisp/emulation/viper-ex.el
lisp/emulation/viper-ex.el
+0
-1
lisp/hippie-exp.el
lisp/hippie-exp.el
+3
-3
lisp/international/mule-cmds.el
lisp/international/mule-cmds.el
+0
-1
lisp/lpr.el
lisp/lpr.el
+2
-2
lisp/ls-lisp.el
lisp/ls-lisp.el
+3
-4
lisp/net/ange-ftp.el
lisp/net/ange-ftp.el
+3
-2
lisp/obsolete/fast-lock.el
lisp/obsolete/fast-lock.el
+1
-1
lisp/ps-print.el
lisp/ps-print.el
+1
-1
lisp/startup.el
lisp/startup.el
+1
-5
No files found.
lisp/ChangeLog
View file @
a3374680
2009-08-22 Glenn Morris <rgm@gnu.org>
2009-08-22 Glenn Morris <rgm@gnu.org>
* hippie-exp.el (he-concat-directory-file-name):
* lpr.el (lpr-windows-system, printer-name):
* ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
* ps-print.el (ps-windows-system):
* startup.el (command-line):
* emulation/viper-ex.el (viper-glob-function):
* international/mule-cmds.el (set-language-environment-coding-systems):
* net/ange-ftp.el (ange-ftp-write-region):
* obsolete/fast-lock.el (fast-lock-cache-name):
Remove code for defunct system-types emx, macos, mswindows,
unisoft-unix, vax-vms, win32, w32.
* calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
* calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
given name if the pattern is not more specific.
given name if the pattern is not more specific.
...
...
lisp/emulation/viper-ex.el
View file @
a3374680
...
@@ -329,7 +329,6 @@ Don't put `-c' here, as it is added automatically."
...
@@ -329,7 +329,6 @@ Don't put `-c' here, as it is added automatically."
(
defcustom
viper-glob-function
(
defcustom
viper-glob-function
(
cond
(
ex-unix-type-shell
'viper-glob-unix-files
)
(
cond
(
ex-unix-type-shell
'viper-glob-unix-files
)
((
eq
system-type
'emx
)
'viper-glob-mswindows-files
)
; OS/2
(
viper-ms-style-os-p
'viper-glob-mswindows-files
)
; Microsoft OS
(
viper-ms-style-os-p
'viper-glob-mswindows-files
)
; Microsoft OS
(
t
'viper-glob-unix-files
)
; presumably UNIX
(
t
'viper-glob-unix-files
)
; presumably UNIX
)
)
...
...
lisp/hippie-exp.el
View file @
a3374680
;;; hippie-exp.el --- expand text trying various ways to find its expansion
;;; hippie-exp.el --- expand text trying various ways to find its expansion
;; Copyright (C) 1992, 2001, 2002, 2003, 2004, 2005,
;; Copyright (C) 1992, 2001, 2002, 2003, 2004, 2005,
2006, 2007, 2008,
;; 200
6, 2007, 2008, 200
9 Free Software Foundation, Inc.
;; 2009
Free Software Foundation, Inc.
;; Author: Anders Holst <aho@sans.kth.se>
;; Author: Anders Holst <aho@sans.kth.se>
;; Last change: 3 March 1998
;; Last change: 3 March 1998
...
@@ -519,7 +519,7 @@ otherwise."
...
@@ -519,7 +519,7 @@ otherwise."
(
defun
he-concat-directory-file-name
(
dir-part
name-part
)
(
defun
he-concat-directory-file-name
(
dir-part
name-part
)
"Try to slam together two parts of a file specification, system dependently."
"Try to slam together two parts of a file specification, system dependently."
(
cond
((
null
dir-part
)
name-part
)
(
cond
((
null
dir-part
)
name-part
)
((
mem
q
system-type
'
(
ms-dos
w32
)
)
((
e
q
system-type
'ms-dos
)
(
if
(
and
(
string-match
"\\\\"
dir-part
)
(
if
(
and
(
string-match
"\\\\"
dir-part
)
(
not
(
string-match
"/"
dir-part
))
(
not
(
string-match
"/"
dir-part
))
(
=
(
aref
name-part
(
1-
(
length
name-part
)))
?/
))
(
=
(
aref
name-part
(
1-
(
length
name-part
)))
?/
))
...
...
lisp/international/mule-cmds.el
View file @
a3374680
...
@@ -1968,7 +1968,6 @@ See `set-language-info-alist' for use in programs."
...
@@ -1968,7 +1968,6 @@ See `set-language-info-alist' for use in programs."
(eol-type
(eol-type
(if (null default-buffer-file-coding-system)
(if (null default-buffer-file-coding-system)
(cond ((memq system-type '(windows-nt ms-dos)) 1)
(cond ((memq system-type '(windows-nt ms-dos)) 1)
((eq system-type 'macos) 2)
(t 0))
(t 0))
(coding-system-eol-type default-buffer-file-coding-system))))
(coding-system-eol-type default-buffer-file-coding-system))))
(when priority
(when priority
...
...
lisp/lpr.el
View file @
a3374680
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
;;;###autoload
;;;###autoload
(
defvar
lpr-windows-system
(
defvar
lpr-windows-system
(
memq
system-type
'
(
emx
win32
w32
mswindows
ms-dos
windows-nt
)))
(
memq
system-type
'
(
ms-dos
windows-nt
)))
;;;###autoload
;;;###autoload
(
defvar
lpr-lp-system
(
defvar
lpr-lp-system
...
@@ -45,7 +45,7 @@
...
@@ -45,7 +45,7 @@
;;;###autoload
;;;###autoload
(
defcustom
printer-name
(
defcustom
printer-name
(
and
(
mem
q
system-type
'
(
emx
ms-dos
)
)
"PRN"
)
(
and
(
e
q
system-type
'ms-dos
)
"PRN"
)
"The name of a local printer to which data is sent for printing.
"The name of a local printer to which data is sent for printing.
\(Note that PostScript files are sent to `ps-printer-name', which see.\)
\(Note that PostScript files are sent to `ps-printer-name', which see.\)
...
...
lisp/ls-lisp.el
View file @
a3374680
...
@@ -70,10 +70,9 @@
...
@@ -70,10 +70,9 @@
:group
'dired
)
:group
'dired
)
(
defcustom
ls-lisp-emulation
(
defcustom
ls-lisp-emulation
(
cond
((
eq
system-type
'macos
)
'MacOS
)
(
cond
;; ((eq system-type 'windows-nt) 'MS-Windows)
;; ((eq system-type 'windows-nt) 'MS-Windows)
((
memq
system-type
((
memq
system-type
'
(
hpux
usg-unix-v
unisoft-unix
irix
berkeley-unix
))
'
(
hpux
usg-unix-v
irix
berkeley-unix
))
'UNIX
))
; very similar to GNU
'UNIX
))
; very similar to GNU
;; Anything else defaults to nil, meaning GNU.
;; Anything else defaults to nil, meaning GNU.
"Platform to emulate: GNU (default), MacOS, MS-Windows, UNIX.
"Platform to emulate: GNU (default), MacOS, MS-Windows, UNIX.
...
@@ -129,7 +128,7 @@ if emulation is GNU then default is `(links uid gid)'."
...
@@ -129,7 +128,7 @@ if emulation is GNU then default is `(links uid gid)'."
:group
'ls-lisp
)
:group
'ls-lisp
)
(
defcustom
ls-lisp-use-insert-directory-program
(
defcustom
ls-lisp-use-insert-directory-program
(
not
(
memq
system-type
'
(
macos
ms-dos
windows-nt
)))
(
not
(
memq
system-type
'
(
ms-dos
windows-nt
)))
"Non-nil causes ls-lisp to revert back to using `insert-directory-program'.
"Non-nil causes ls-lisp to revert back to using `insert-directory-program'.
This is useful on platforms where ls-lisp is dumped into Emacs, such as
This is useful on platforms where ls-lisp is dumped into Emacs, such as
Microsoft Windows, but you would still like to use a program to list
Microsoft Windows, but you would still like to use a program to list
...
...
lisp/net/ange-ftp.el
View file @
a3374680
;;; ange-ftp.el --- transparent FTP support for GNU Emacs
;;; ange-ftp.el --- transparent FTP support for GNU Emacs
;; Copyright (C) 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1998,
;; Copyright (C) 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1998,
;; 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
;; 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
;; Free Software Foundation, Inc.
;; Author: Andy Norman (ange@hplb.hpl.hp.com)
;; Author: Andy Norman (ange@hplb.hpl.hp.com)
;; Maintainer: FSF
;; Maintainer: FSF
...
@@ -3220,7 +3221,7 @@ system TYPE.")
...
@@ -3220,7 +3221,7 @@ system TYPE.")
;; regardless. Maybe a system-type to host-type lookup?
;; regardless. Maybe a system-type to host-type lookup?
(
binary
(
or
(
ange-ftp-binary-file
filename
)
(
binary
(
or
(
ange-ftp-binary-file
filename
)
(
and
(
not
(
memq
system-type
(
and
(
not
(
memq
system-type
'
(
ms-dos
windows-nt
macos
vax-vms
)))
'
(
ms-dos
windows-nt
)))
(
memq
(
ange-ftp-host-type
host
user
)
(
memq
(
ange-ftp-host-type
host
user
)
'
(
unix
dumb-unix
)))))
'
(
unix
dumb-unix
)))))
(
cmd
(
if
append
'append
'put
))
(
cmd
(
if
append
'append
'put
))
...
...
lisp/obsolete/fast-lock.el
View file @
a3374680
...
@@ -549,7 +549,7 @@ See `fast-lock-cache-directory'."
...
@@ -549,7 +549,7 @@ See `fast-lock-cache-directory'."
(
concat
buffer-file-name
".flc"
)
(
concat
buffer-file-name
".flc"
)
(
let*
((
bufile
(
expand-file-name
buffer-file-truename
))
(
let*
((
bufile
(
expand-file-name
buffer-file-truename
))
(
chars-alist
(
chars-alist
(
if
(
memq
system-type
'
(
emx
windows-nt
cygwin
))
(
if
(
memq
system-type
'
(
windows-nt
cygwin
))
'
((
?/
.
(
?#
))
(
?#
.
(
?#
?#
))
(
?:
.
(
?\;
))
(
?\;
.
(
?\;
?\;
)))
'
((
?/
.
(
?#
))
(
?#
.
(
?#
?#
))
(
?:
.
(
?\;
))
(
?\;
.
(
?\;
?\;
)))
'
((
?/
.
(
?#
))
(
?#
.
(
?#
?#
)))))
'
((
?/
.
(
?#
))
(
?#
.
(
?#
?#
)))))
(
mapchars
(
mapchars
...
...
lisp/ps-print.el
View file @
a3374680
...
@@ -1478,7 +1478,7 @@ Please send all bug fixes and enhancements to
...
@@ -1478,7 +1478,7 @@ Please send all bug fixes and enhancements to
(
defconst
ps-windows-system
(
defconst
ps-windows-system
(
memq
system-type
'
(
emx
win32
w32
mswindows
ms-dos
windows-nt
)))
(
memq
system-type
'
(
ms-dos
windows-nt
)))
(
defconst
ps-lp-system
(
defconst
ps-lp-system
(
memq
system-type
'
(
usg-unix-v
hpux
irix
)))
(
memq
system-type
'
(
usg-unix-v
hpux
irix
)))
...
...
lisp/startup.el
View file @
a3374680
...
@@ -741,13 +741,9 @@ opening the first frame (e.g. open a connection to an X server).")
...
@@ -741,13 +741,9 @@ opening the first frame (e.g. open a connection to an X server).")
;; Set the default strings to display in mode line for
;; Set the default strings to display in mode line for
;; end-of-line formats that aren't native to this platform.
;; end-of-line formats that aren't native to this platform.
(cond
(cond
((memq system-type '(ms-dos windows-nt
emx
))
((memq system-type '(ms-dos windows-nt))
(setq eol-mnemonic-unix "
(
Unix
)
"
(setq eol-mnemonic-unix "
(
Unix
)
"
eol-mnemonic-mac "
(
Mac
)
"))
eol-mnemonic-mac "
(
Mac
)
"))
;; Both Mac and Unix EOLs are now "
native
" on Mac OS so keep the
;; abbreviated strings `/' and `:' set in coding.c for them.
((eq system-type 'macos)
(setq eol-mnemonic-dos "
(
DOS
)
"))
(t ; this is for Unix/GNU/Linux systems
(t ; this is for Unix/GNU/Linux systems
(setq eol-mnemonic-dos "
(
DOS
)
"
(setq eol-mnemonic-dos "
(
DOS
)
"
eol-mnemonic-mac "
(
Mac
)
")))
eol-mnemonic-mac "
(
Mac
)
")))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment