X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/7c420169baa7c50428589cca7f8eda71b462eb15..5d8e0d43b0fdc1b67f745e66c1539c5135fb2808:/lisp/dos-w32.el diff --git a/lisp/dos-w32.el b/lisp/dos-w32.el index 0962ae5f13..5dac6d2272 100644 --- a/lisp/dos-w32.el +++ b/lisp/dos-w32.el @@ -1,7 +1,6 @@ ;; dos-w32.el --- Functions shared among MS-DOS and W32 (NT/95) platforms -;; Copyright (C) 1996, 2001, 2002, 2003, 2004, 2005, -;; 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +;; Copyright (C) 1996, 2001-2011 Free Software Foundation, Inc. ;; Maintainer: Geoff Voelker ;; Keywords: internal @@ -229,10 +228,10 @@ dealing with untranslated filesystems." ;; directory separators changed to directory-sep-char. (let ((name nil)) (setq name (mapconcat - '(lambda (char) - (if (and (<= ?A char) (<= char ?Z)) - (char-to-string (+ (- char ?A) ?a)) - (char-to-string char))) + (lambda (char) + (if (and (<= ?A char) (<= char ?Z)) + (char-to-string (+ (- char ?A) ?a)) + (char-to-string char))) filename nil)) ;; Use expand-file-name to canonicalize directory separators, except ;; with bare drive letters (which would have the cwd appended). @@ -291,7 +290,7 @@ filesystem mounted on drive Z:, FILESYSTEM could be \"Z:\"." (defun direct-print-region-helper (printer start end lpr-prog - delete-text buf display + _delete-text _buf _display rest) (let* (;; Ignore case when matching known external program names. (case-fold-search t) @@ -382,9 +381,9 @@ filesystem mounted on drive Z:, FILESYSTEM could be \"Z:\"." (declare-function default-printer-name "w32fns.c") (defun direct-print-region-function (start end - &optional lpr-prog - delete-text buf display - &rest rest) + &optional lpr-prog + delete-text buf display + &rest rest) "DOS/Windows-specific function to print the region on a printer. Writes the region to the device or file which is a value of `printer-name' \(which see\), unless the value of `lpr-command' @@ -400,7 +399,7 @@ indicates a specific program should be invoked." ;; paper if the file ends with a form-feed already. (write-region-annotate-functions (cons - (lambda (start end) + (lambda (_start end) (if (not (char-equal (char-before end) ?\C-l)) `((,end . "\f")))) write-region-annotate-functions)) @@ -458,5 +457,4 @@ indicates a specific program should be invoked." (provide 'dos-w32) -;; arch-tag: dcfefdd2-362f-4fbc-9141-9634f5f4d6a7 ;;; dos-w32.el ends here