changeset 85512:589532be95ec

* w32-fns.el (w32-quote-process-args): * dos-w32.el (print-region-function, lpr-headers-switches) (ps-print-region-function): Pacify byte-compiler.
author Dan Nicolaescu <dann@ics.uci.edu>
date Sun, 21 Oct 2007 19:35:11 +0000
parents f873840f9fea
children dfdbd485bfa6
files lisp/ChangeLog lisp/dos-w32.el lisp/w32-fns.el
diffstat 3 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sun Oct 21 17:22:04 2007 +0000
+++ b/lisp/ChangeLog	Sun Oct 21 19:35:11 2007 +0000
@@ -1,5 +1,9 @@
 2007-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
 
+	* w32-fns.el (w32-quote-process-args): 
+	* dos-w32.el (print-region-function, lpr-headers-switches)
+	(ps-print-region-function): Pacify byte-compiler.
+
 	* emulation/edt-mapper.el (function-key-map):
 	(edt-map-key): Make it a function instead of using fset. Inline
 	edt-gnu-map-key and edt-lucid-map-key. Use featurep 'xemacs.
--- a/lisp/dos-w32.el	Sun Oct 21 17:22:04 2007 +0000
+++ b/lisp/dos-w32.el	Sun Oct 21 19:35:11 2007 +0000
@@ -404,6 +404,8 @@
     (direct-print-region-helper printer start end lpr-prog
 				delete-text buf display rest)))
 
+(defvar print-region-function)
+(defvar lpr-headers-switches)
 (setq print-region-function 'direct-print-region-function)
 
 ;; Set this to nil if you have a port of the `pr' program
@@ -435,6 +437,7 @@
     (direct-print-region-helper printer start end lpr-prog
 				delete-text buf display rest)))
 
+(defvar ps-print-region-function)
 (setq ps-print-region-function 'direct-ps-print-region-function)
 
 ;(setq ps-lpr-command "gs")
--- a/lisp/w32-fns.el	Sun Oct 21 17:22:04 2007 +0000
+++ b/lisp/w32-fns.el	Sun Oct 21 19:35:11 2007 +0000
@@ -82,6 +82,8 @@
 		   '("cmdproxy" "cmdproxy.exe"))
 	   (w32-system-shell-p (getenv "COMSPEC")))))
 
+(defvar w32-quote-process-args)  ;; defined in w32proc.c
+
 (defun w32-check-shell-configuration ()
   "Check the configuration of shell variables on Windows NT/9X.
 This function is invoked after loading the init files and processing