diff options
author | Stephen Eglen <stephen@gnu.org> | 1998-03-07 18:19:38 +0000 |
---|---|---|
committer | Stephen Eglen <stephen@gnu.org> | 1998-03-07 18:19:38 +0000 |
commit | 4bef911093051ec6dfca2e1415e42baee60f8e37 (patch) | |
tree | 01e2642e0ce7282e95907bc908e065a2817d30c1 /lisp/dos-fns.el | |
parent | 14d4446b73f2f52becebc28d96e82f6ff5fe8e57 (diff) | |
download | emacs-4bef911093051ec6dfca2e1415e42baee60f8e37.tar.gz |
Customized.
Diffstat (limited to 'lisp/dos-fns.el')
-rw-r--r-- | lisp/dos-fns.el | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/lisp/dos-fns.el b/lisp/dos-fns.el index e3ae53bd070..2ecdea4668e 100644 --- a/lisp/dos-fns.el +++ b/lisp/dos-fns.el @@ -28,6 +28,10 @@ ;;; Code: +(defgroup dos-fns nil + "MS-Dos specific functions." + :group 'environment) + ;; This overrides a trivial definition in files.el. (defun convert-standard-filename (filename) "Convert a standard file's name to something suitable for the current OS. @@ -78,8 +82,10 @@ with a definition that really does change some file names." (aset string (1- (length string)) lastchar)) (concat dir string)))) -(defvar msdos-shells '("command.com" "4dos.com" "ndos.com") - "*List of shells that use `/c' instead of `-c' and a backslashed command.") +(defcustom msdos-shells '("command.com" "4dos.com" "ndos.com") + "*List of shells that use `/c' instead of `-c' and a backslashed command." + :type '(repeat string) + :group 'dos-fns) (defvar register-name-alist '((ax . 0) (bx . 1) (cx . 2) (dx . 3) (si . 4) (di . 5) @@ -121,7 +127,7 @@ with a definition that really does change some file names." (int86 33 regs)) ;; Support for printing under MS-DOS, see lpr.el and ps-print.el. -(defvar dos-printer "PRN" +(defcustom dos-printer "PRN" "*The name of a local MS-DOS device to which data is sent for printing. \(Note that PostScript files are sent to `dos-ps-printer', which see.\) @@ -129,7 +135,9 @@ Typical non-default settings would be \"LPT1\" to \"LPT3\" for parallel printers, or \"COM1\" to \"COM4\" or \"AUX\" for serial printers. You can also set it to a name of a file, in which case the output gets appended to that file. -If you want to discard the printed output, set this to \"NUL\".") +If you want to discard the printed output, set this to \"NUL\"." + :type 'file ; could use string but then we lose completion for files. + :group 'dos-fns) (defun dos-print-region-function (start end &optional lpr-prog @@ -164,7 +172,7 @@ START and END." ;; the same output as `lpr-buffer' and `lpr-region', accordingly. (setq lpr-headers-switches "(page headers are not supported)") -(defvar dos-ps-printer "PRN" +(defcustom dos-ps-printer "PRN" "*Method for printing PostScript files under MS-DOS. If the value is a string, then it is taken as the name of the @@ -180,7 +188,9 @@ you want to silently discard the printed output, set this to \"NUL\". If the value is anything but a string, PostScript files will be piped to the program given by `ps-lpr-command', with switches -given by `ps-lpr-switches', which see.") +given by `ps-lpr-switches', which see." + :type '(choice file (const :tag "Pipe to ps-lpr-command" pipe)) + :group 'dos-fns) (setq ps-lpr-command "gs") |