]> git.eshelyaron.com Git - emacs.git/commit
(find-buffer-file-type-coding-system): Use
authorAndrew Innes <andrewi@gnu.org>
Sun, 17 Jan 1999 19:00:24 +0000 (19:00 +0000)
committerAndrew Innes <andrewi@gnu.org>
Sun, 17 Jan 1999 19:00:24 +0000 (19:00 +0000)
commitca19ad677829eb866b8ac52fcb1ac948682c3336
tree044f624eb69685de57f94177e513acec650073cb
parent8bc62130b3c39cee543a91cc6366c969ca8ac4ad
(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.
lisp/dos-w32.el