Mercurial > emacs
annotate msdos/sed3.inp @ 24092:d98712ec1252
(find-buffer-file-type-coding-system): Use
default-buffer-file-coding-system when file doesn't exist (and isn't
covered by a special case) instead of forcing undecided-dos against
the user's wishes.
(direct-print-region-helper): New function based on
direct-print-region-function; sends data to specified printer port
without further translation. Recognize and handle specially the
standard `print' and `nprint' programs, as well as `lpr' and
similar programs. Only write directly to the printer port if no
print program is specified. Work around a bug in Windows 9x
affecting Win32 version of Emacs by invoking command.com to write
to the printer port instead of writing directly.
(direct-print-region-function): Use direct-print-region-helper to
do most of the work.
(direct-ps-print-region-function): New function; analogue of
direct-print-region-function for ps-print.
(ps-lpr-command): Comment out setq; leave as example usage.
(ps-lpr-switches): Ditto.
author | Andrew Innes <andrewi@gnu.org> |
---|---|
date | Sun, 17 Jan 1999 19:00:24 +0000 |
parents | 3276c8c1843c |
children | a4fb0c9be609 |
rev | line source |
---|---|
7203
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
1 # -sed3.inp------------------------------------------------------------- |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
2 # Configuration script for lib-src/makefile |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
3 # ---------------------------------------------------------------------- |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
4 /^# DIST: /d |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
5 /^SHELL *=/s/^/# / |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
6 /^CC *=/s/=.*$/=gcc/ |
7407
565b1e27c14c
Don't pass version to [ce]tags.
Richard M. Stallman <rms@gnu.org>
parents:
7231
diff
changeset
|
7 # Actually, here we should patch in the exact version number, but only |
565b1e27c14c
Don't pass version to [ce]tags.
Richard M. Stallman <rms@gnu.org>
parents:
7231
diff
changeset
|
8 # [ce]tags uses it. Don't pass it. This is more update-resistant. |
565b1e27c14c
Don't pass version to [ce]tags.
Richard M. Stallman <rms@gnu.org>
parents:
7231
diff
changeset
|
9 /-DVERSION=/s/-DVERSION="\\"\${version}\\""// |
7203
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
10 /^configname *=/s/=.*$/=msdos/ |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
11 /^archlibdir *=/s!=.*$!=/emacs/bin! |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
12 /^bindir *=/s!=.*$!=/emacs/bin! |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
13 /^libdir *=/s!=.*$!=/emacs/bin! |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
14 /^srcdir *=/s!=.*$!=.! |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
15 /^VPATH *=/s!=.*$!=.! |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
16 /^CFLAGS *=/s!=.*$!=-O2 -g! |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
17 /^C_SWITCH_SYSTEM *=/s!=.*$!=-DMSDOS! |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
18 /^LOADLIBES *=/s!=.*$!=! |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
19 /^ALLOCA *=/s!=.*$!=alloca.o! |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
20 /^INSTALLABLES/s/emacsclient *// |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
21 s!^ \./! go32 ./! |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
22 /^UTILITIES=/s/ wakeup// |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
23 /^UTILITIES=/s/ movemail// |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
24 /^UTILITIES=/s/ emacsserver// |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
25 /^UTILITIES=/s/ timer// |
10507
de02c5579c5e
Delete mysterious dot. Add comment to protect blank
Richard M. Stallman <rms@gnu.org>
parents:
10385
diff
changeset
|
26 /^all *:/s/$/ make-docfile/ |
13615
3276c8c1843c
Alter test-distrib to test-dis.
Richard M. Stallman <rms@gnu.org>
parents:
10509
diff
changeset
|
27 s!^ go32 ./test-distrib! go32 ./test-dis! |
10385
7826b6c2b6e8
Use coff2exe on make-docfile, instead of go32 when running it.
Karl Heuer <kwzh@gnu.org>
parents:
7407
diff
changeset
|
28 /-o make-docfile/a\ |
10509
49f3296db01d
Fix sed append command to behave as intended.
Karl Heuer <kwzh@gnu.org>
parents:
10507
diff
changeset
|
29 coff2exe make-docfile |