changeset 86289:8a7ed478f7bc

* international/titdic-cnv.el (dos-8+3-filename): * obsolete/fast-lock.el (msdos-long-file-names): * frame.el (msdos-mouse-p): * files.el (msdos-long-file-names, w32-long-file-name) (msdos-long-file-names): * term/mac-win.el (mac-code-convert-string, mac-coerce-ae-data) (mac-resume-apple-event, mac-font-panel-mode) (mac-atsu-font-face-attributes, mac-ae-set-reply-parameter) (mac-clear-font-name-table): * term/pc-win.el (msdos-remember-default-colors) (w16-set-clipboard-data, w16-get-clipboard-data): * term/w32-win.el (w32-send-sys-command, w32-select-font) (set-message-beep): * net/browse-url.el (w32-shell-execute): * w32-fns.el (set-message-beep, w32-get-clipboard-data) (w32-get-locale-info, w32-get-valid-locale-ids) (w32-set-clipboard-data): * dos-fns.el (int86, msdos-long-file-names): * dos-w32.el (default-printer-name): Declare as functions.
author Dan Nicolaescu <dann@ics.uci.edu>
date Thu, 22 Nov 2007 01:05:55 +0000
parents 145903731829
children 9ddedad1a7b2
files lisp/ChangeLog lisp/dos-fns.el lisp/dos-w32.el lisp/files.el lisp/frame.el lisp/international/titdic-cnv.el lisp/net/browse-url.el lisp/obsolete/fast-lock.el lisp/term/mac-win.el lisp/term/pc-win.el lisp/term/w32-win.el lisp/w32-fns.el
diffstat 12 files changed, 57 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Thu Nov 22 01:01:26 2007 +0000
+++ b/lisp/ChangeLog	Thu Nov 22 01:05:55 2007 +0000
@@ -1,3 +1,25 @@
+2007-11-22  Dan Nicolaescu  <dann@ics.uci.edu>
+
+	* international/titdic-cnv.el (dos-8+3-filename):
+	* obsolete/fast-lock.el (msdos-long-file-names):
+	* frame.el (msdos-mouse-p):
+	* files.el (msdos-long-file-names, w32-long-file-name)
+	(msdos-long-file-names):
+	* term/mac-win.el (mac-code-convert-string, mac-coerce-ae-data)
+	(mac-resume-apple-event, mac-font-panel-mode)
+	(mac-atsu-font-face-attributes, mac-ae-set-reply-parameter)
+	(mac-clear-font-name-table):
+	* term/pc-win.el (msdos-remember-default-colors)
+	(w16-set-clipboard-data, w16-get-clipboard-data):
+	* term/w32-win.el (w32-send-sys-command, w32-select-font)
+	(set-message-beep):
+	* net/browse-url.el (w32-shell-execute):
+	* w32-fns.el (set-message-beep, w32-get-clipboard-data)
+	(w32-get-locale-info, w32-get-valid-locale-ids)
+	(w32-set-clipboard-data):
+	* dos-fns.el (int86, msdos-long-file-names):
+	* dos-w32.el (default-printer-name): Declare as functions.
+
 2007-11-21  Jason Rumney  <jasonr@gnu.org>
 
 	* emacs-lisp/byte-run.el (declare-function): Return nil.
--- a/lisp/dos-fns.el	Thu Nov 22 01:01:26 2007 +0000
+++ b/lisp/dos-fns.el	Thu Nov 22 01:05:55 2007 +0000
@@ -29,6 +29,9 @@
 
 ;;; Code:
 
+(declare-function int86 "msdos.c")
+(declare-function msdos-long-file-names "msdos.c")
+
 ;; 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.
--- a/lisp/dos-w32.el	Thu Nov 22 01:01:26 2007 +0000
+++ b/lisp/dos-w32.el	Thu Nov 22 01:05:55 2007 +0000
@@ -370,6 +370,8 @@
 
 (defvar printer-name)
 
+(declare-function default-printer-name "w32fns.c")
+
 (defun direct-print-region-function (start end
 					   &optional lpr-prog
 					   delete-text buf display
--- a/lisp/files.el	Thu Nov 22 01:01:26 2007 +0000
+++ b/lisp/files.el	Thu Nov 22 01:05:55 2007 +0000
@@ -213,6 +213,8 @@
 ;; The system null device. (Should reference NULL_DEVICE from C.)
 (defvar null-device "/dev/null" "The system null device.")
 
+(declare-function msdos-long-file-names "msdos.c")
+(declare-function w32-long-file-name "w32proc.c")
 (declare-function dired-get-filename "dired" (&optional localp no-error-if-not-filep))
 (declare-function dired-unmark "dired" (arg))
 (declare-function dired-do-flagged-delete "dired" (&optional nomessage))
--- a/lisp/frame.el	Thu Nov 22 01:01:26 2007 +0000
+++ b/lisp/frame.el	Thu Nov 22 01:05:55 2007 +0000
@@ -1131,6 +1131,8 @@
   "Return the terminal that is now selected."
   (frame-terminal (selected-frame)))
 
+(declare-function msdos-mouse-p "dosfns.c")
+
 (defun display-mouse-p (&optional display)
   "Return non-nil if DISPLAY has a mouse available.
 DISPLAY can be a display name, a frame, or nil (meaning the selected
--- a/lisp/international/titdic-cnv.el	Thu Nov 22 01:01:26 2007 +0000
+++ b/lisp/international/titdic-cnv.el	Thu Nov 22 01:05:55 2007 +0000
@@ -1112,6 +1112,8 @@
  Some infrequent characters are accessed by typing \\, followed by
  the Cantonese romanization of the respective radical ($(0?f5}(B)."))
 
+(declare-function dos-8+3-filename "../dos-fns.el" (filename))
+
 (defun miscdic-convert (filename &optional dirname)
   "Convert a dictionary file FILENAME into a Quail package.
 Optional argument DIRNAME if specified is the directory name under which
--- a/lisp/net/browse-url.el	Thu Nov 22 01:01:26 2007 +0000
+++ b/lisp/net/browse-url.el	Thu Nov 22 01:05:55 2007 +0000
@@ -825,6 +825,7 @@
 ;; --- Default MS-Windows browser ---
 
 (defvar dos-windows-version)
+(declare-function w32-shell-execute "w32fns.c")    ;; Defined in C.
 
 (defun browse-url-default-windows-browser (url &optional new-window)
   (interactive (browse-url-interactive-arg "URL: "))
--- a/lisp/obsolete/fast-lock.el	Thu Nov 22 01:01:26 2007 +0000
+++ b/lisp/obsolete/fast-lock.el	Thu Nov 22 01:05:55 2007 +0000
@@ -183,6 +183,8 @@
 
 (require 'font-lock)
 
+(declare-function msdos-long-file-names "msdos.c")
+
 ;; Make sure fast-lock.el is supported.
 (if (and (eq system-type 'ms-dos) (not (msdos-long-file-names)))
     (error "`fast-lock' was written for long file name systems"))
--- a/lisp/term/mac-win.el	Thu Nov 22 01:01:26 2007 +0000
+++ b/lisp/term/mac-win.el	Thu Nov 22 01:05:55 2007 +0000
@@ -84,6 +84,13 @@
 (defvar mac-font-panel-mode)
 (defvar mac-ts-active-input-overlay)
 (defvar x-invocation-args)
+(declare-function mac-code-convert-string "mac.c")
+(declare-function mac-coerce-ae-data "mac.c")
+(declare-function mac-resume-apple-event "macselect.c")
+(declare-function mac-font-panel-mode "macfns.c")
+(declare-function mac-atsu-font-face-attributes "macfns.c")
+(declare-function mac-ae-set-reply-parameter "macselect.c")
+(declare-function mac-clear-font-name-table "macfns.c")
 
 (defvar x-command-line-resources nil)
 
--- a/lisp/term/pc-win.el	Thu Nov 22 01:01:26 2007 +0000
+++ b/lisp/term/pc-win.el	Thu Nov 22 01:05:55 2007 +0000
@@ -29,6 +29,10 @@
 
 (load "term/internal" nil t)
 
+(declare-function msdos-remember-default-colors "msdos.c")
+(declare-function w16-set-clipboard-data "w16select.c")
+(declare-function w16-get-clipboard-data "w16select.c")
+
 ;;; This is copied from etc/rgb.txt, except that some values were changed
 ;;; a bit to make them consistent with DOS console colors, and the RGB
 ;;; values were scaled up to 16 bits, as `tty-define-color' requires.
--- a/lisp/term/w32-win.el	Thu Nov 22 01:01:26 2007 +0000
+++ b/lisp/term/w32-win.el	Thu Nov 22 01:05:55 2007 +0000
@@ -88,6 +88,10 @@
 (defvar xlfd-regexp-registry-subnum)
 (defvar w32-color-map) ;; defined in w32fns.c
 
+(declare-function w32-send-sys-command "w32fns.c")
+(declare-function w32-select-font "w32fns.c")
+(declare-function set-message-beep "w32console.c")
+
 ;; Conditional on new-fontset so bootstrapping works on non-GUI compiles
 (if (fboundp 'new-fontset)
     (require 'fontset))
--- a/lisp/w32-fns.el	Thu Nov 22 01:01:26 2007 +0000
+++ b/lisp/w32-fns.el	Thu Nov 22 01:05:55 2007 +0000
@@ -74,6 +74,12 @@
         (set-keymap-parent local-function-key-map map)))
     (set-terminal-parameter frame 'x-setup-function-keys t)))
 
+(declare-function set-message-beep "w32console.c")
+(declare-function w32-get-clipboard-data "w32select.c")
+(declare-function w32-get-locale-info "w32proc.c")
+(declare-function w32-get-valid-locale-ids "w32proc.c")
+(declare-function w32-set-clipboard-data "w32select.c")
+
 ;; Ignore case on file-name completion
 (setq completion-ignore-case t)