# HG changeset patch # User Dan Nicolaescu # Date 1195693555 0 # Node ID 8a7ed478f7bc4748c93bbc6f77f9c29b508176c5 # Parent 145903731829b44bd4a7632103215d33eacc56c7 * 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. diff -r 145903731829 -r 8a7ed478f7bc lisp/ChangeLog --- 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 + + * 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 * emacs-lisp/byte-run.el (declare-function): Return nil. diff -r 145903731829 -r 8a7ed478f7bc lisp/dos-fns.el --- 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. diff -r 145903731829 -r 8a7ed478f7bc lisp/dos-w32.el --- 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 diff -r 145903731829 -r 8a7ed478f7bc lisp/files.el --- 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)) diff -r 145903731829 -r 8a7ed478f7bc lisp/frame.el --- 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 diff -r 145903731829 -r 8a7ed478f7bc lisp/international/titdic-cnv.el --- 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 diff -r 145903731829 -r 8a7ed478f7bc lisp/net/browse-url.el --- 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: ")) diff -r 145903731829 -r 8a7ed478f7bc lisp/obsolete/fast-lock.el --- 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")) diff -r 145903731829 -r 8a7ed478f7bc lisp/term/mac-win.el --- 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) diff -r 145903731829 -r 8a7ed478f7bc lisp/term/pc-win.el --- 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. diff -r 145903731829 -r 8a7ed478f7bc lisp/term/w32-win.el --- 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)) diff -r 145903731829 -r 8a7ed478f7bc lisp/w32-fns.el --- 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)