diff options
| author | Dan Nicolaescu | 2007-11-22 01:05:55 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2007-11-22 01:05:55 +0000 |
| commit | 73e6adaa140dad6a119bb439fe1f954c70ada9ec (patch) | |
| tree | 2c5f3c4edd4a734d9e0925f080cf0da66cb2de3c | |
| parent | 7c401d155d16ad076dd9c681566d535c0d3cce17 (diff) | |
| download | emacs-73e6adaa140dad6a119bb439fe1f954c70ada9ec.tar.gz emacs-73e6adaa140dad6a119bb439fe1f954c70ada9ec.zip | |
* 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.
| -rw-r--r-- | lisp/ChangeLog | 22 | ||||
| -rw-r--r-- | lisp/dos-fns.el | 3 | ||||
| -rw-r--r-- | lisp/dos-w32.el | 2 | ||||
| -rw-r--r-- | lisp/files.el | 2 | ||||
| -rw-r--r-- | lisp/frame.el | 2 | ||||
| -rw-r--r-- | lisp/international/titdic-cnv.el | 2 | ||||
| -rw-r--r-- | lisp/net/browse-url.el | 1 | ||||
| -rw-r--r-- | lisp/obsolete/fast-lock.el | 2 | ||||
| -rw-r--r-- | lisp/term/mac-win.el | 7 | ||||
| -rw-r--r-- | lisp/term/pc-win.el | 4 | ||||
| -rw-r--r-- | lisp/term/w32-win.el | 4 | ||||
| -rw-r--r-- | lisp/w32-fns.el | 6 |
12 files changed, 57 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 53522780557..09b83f33895 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,25 @@ | |||
| 1 | 2007-11-22 Dan Nicolaescu <dann@ics.uci.edu> | ||
| 2 | |||
| 3 | * international/titdic-cnv.el (dos-8+3-filename): | ||
| 4 | * obsolete/fast-lock.el (msdos-long-file-names): | ||
| 5 | * frame.el (msdos-mouse-p): | ||
| 6 | * files.el (msdos-long-file-names, w32-long-file-name) | ||
| 7 | (msdos-long-file-names): | ||
| 8 | * term/mac-win.el (mac-code-convert-string, mac-coerce-ae-data) | ||
| 9 | (mac-resume-apple-event, mac-font-panel-mode) | ||
| 10 | (mac-atsu-font-face-attributes, mac-ae-set-reply-parameter) | ||
| 11 | (mac-clear-font-name-table): | ||
| 12 | * term/pc-win.el (msdos-remember-default-colors) | ||
| 13 | (w16-set-clipboard-data, w16-get-clipboard-data): | ||
| 14 | * term/w32-win.el (w32-send-sys-command, w32-select-font) | ||
| 15 | (set-message-beep): | ||
| 16 | * net/browse-url.el (w32-shell-execute): | ||
| 17 | * w32-fns.el (set-message-beep, w32-get-clipboard-data) | ||
| 18 | (w32-get-locale-info, w32-get-valid-locale-ids) | ||
| 19 | (w32-set-clipboard-data): | ||
| 20 | * dos-fns.el (int86, msdos-long-file-names): | ||
| 21 | * dos-w32.el (default-printer-name): Declare as functions. | ||
| 22 | |||
| 1 | 2007-11-21 Jason Rumney <jasonr@gnu.org> | 23 | 2007-11-21 Jason Rumney <jasonr@gnu.org> |
| 2 | 24 | ||
| 3 | * emacs-lisp/byte-run.el (declare-function): Return nil. | 25 | * emacs-lisp/byte-run.el (declare-function): Return nil. |
diff --git a/lisp/dos-fns.el b/lisp/dos-fns.el index c66cbc7933a..140f6b55fac 100644 --- a/lisp/dos-fns.el +++ b/lisp/dos-fns.el | |||
| @@ -29,6 +29,9 @@ | |||
| 29 | 29 | ||
| 30 | ;;; Code: | 30 | ;;; Code: |
| 31 | 31 | ||
| 32 | (declare-function int86 "msdos.c") | ||
| 33 | (declare-function msdos-long-file-names "msdos.c") | ||
| 34 | |||
| 32 | ;; This overrides a trivial definition in files.el. | 35 | ;; This overrides a trivial definition in files.el. |
| 33 | (defun convert-standard-filename (filename) | 36 | (defun convert-standard-filename (filename) |
| 34 | "Convert a standard file's name to something suitable for the current OS. | 37 | "Convert a standard file's name to something suitable for the current OS. |
diff --git a/lisp/dos-w32.el b/lisp/dos-w32.el index 28cab4ccbcb..878e5c58189 100644 --- a/lisp/dos-w32.el +++ b/lisp/dos-w32.el | |||
| @@ -370,6 +370,8 @@ filesystem mounted on drive Z:, FILESYSTEM could be \"Z:\"." | |||
| 370 | 370 | ||
| 371 | (defvar printer-name) | 371 | (defvar printer-name) |
| 372 | 372 | ||
| 373 | (declare-function default-printer-name "w32fns.c") | ||
| 374 | |||
| 373 | (defun direct-print-region-function (start end | 375 | (defun direct-print-region-function (start end |
| 374 | &optional lpr-prog | 376 | &optional lpr-prog |
| 375 | delete-text buf display | 377 | delete-text buf display |
diff --git a/lisp/files.el b/lisp/files.el index 276366a796f..274b6b7cd01 100644 --- a/lisp/files.el +++ b/lisp/files.el | |||
| @@ -213,6 +213,8 @@ have fast storage with limited space, such as a RAM disk." | |||
| 213 | ;; The system null device. (Should reference NULL_DEVICE from C.) | 213 | ;; The system null device. (Should reference NULL_DEVICE from C.) |
| 214 | (defvar null-device "/dev/null" "The system null device.") | 214 | (defvar null-device "/dev/null" "The system null device.") |
| 215 | 215 | ||
| 216 | (declare-function msdos-long-file-names "msdos.c") | ||
| 217 | (declare-function w32-long-file-name "w32proc.c") | ||
| 216 | (declare-function dired-get-filename "dired" (&optional localp no-error-if-not-filep)) | 218 | (declare-function dired-get-filename "dired" (&optional localp no-error-if-not-filep)) |
| 217 | (declare-function dired-unmark "dired" (arg)) | 219 | (declare-function dired-unmark "dired" (arg)) |
| 218 | (declare-function dired-do-flagged-delete "dired" (&optional nomessage)) | 220 | (declare-function dired-do-flagged-delete "dired" (&optional nomessage)) |
diff --git a/lisp/frame.el b/lisp/frame.el index 305f5ebff80..341ca79e976 100644 --- a/lisp/frame.el +++ b/lisp/frame.el | |||
| @@ -1131,6 +1131,8 @@ bars (top, bottom, or nil)." | |||
| 1131 | "Return the terminal that is now selected." | 1131 | "Return the terminal that is now selected." |
| 1132 | (frame-terminal (selected-frame))) | 1132 | (frame-terminal (selected-frame))) |
| 1133 | 1133 | ||
| 1134 | (declare-function msdos-mouse-p "dosfns.c") | ||
| 1135 | |||
| 1134 | (defun display-mouse-p (&optional display) | 1136 | (defun display-mouse-p (&optional display) |
| 1135 | "Return non-nil if DISPLAY has a mouse available. | 1137 | "Return non-nil if DISPLAY has a mouse available. |
| 1136 | DISPLAY can be a display name, a frame, or nil (meaning the selected | 1138 | DISPLAY can be a display name, a frame, or nil (meaning the selected |
diff --git a/lisp/international/titdic-cnv.el b/lisp/international/titdic-cnv.el index e6c0b5b3630..83c765dd887 100644 --- a/lisp/international/titdic-cnv.el +++ b/lisp/international/titdic-cnv.el | |||
| @@ -1112,6 +1112,8 @@ To input symbols and punctuations, type `/' followed by one of `a' to | |||
| 1112 | Some infrequent characters are accessed by typing \\, followed by | 1112 | Some infrequent characters are accessed by typing \\, followed by |
| 1113 | the Cantonese romanization of the respective radical ($(0?f5}(B).")) | 1113 | the Cantonese romanization of the respective radical ($(0?f5}(B).")) |
| 1114 | 1114 | ||
| 1115 | (declare-function dos-8+3-filename "../dos-fns.el" (filename)) | ||
| 1116 | |||
| 1115 | (defun miscdic-convert (filename &optional dirname) | 1117 | (defun miscdic-convert (filename &optional dirname) |
| 1116 | "Convert a dictionary file FILENAME into a Quail package. | 1118 | "Convert a dictionary file FILENAME into a Quail package. |
| 1117 | Optional argument DIRNAME if specified is the directory name under which | 1119 | Optional argument DIRNAME if specified is the directory name under which |
diff --git a/lisp/net/browse-url.el b/lisp/net/browse-url.el index 523588ec7c2..3685c8a6af1 100644 --- a/lisp/net/browse-url.el +++ b/lisp/net/browse-url.el | |||
| @@ -825,6 +825,7 @@ to use." | |||
| 825 | ;; --- Default MS-Windows browser --- | 825 | ;; --- Default MS-Windows browser --- |
| 826 | 826 | ||
| 827 | (defvar dos-windows-version) | 827 | (defvar dos-windows-version) |
| 828 | (declare-function w32-shell-execute "w32fns.c") ;; Defined in C. | ||
| 828 | 829 | ||
| 829 | (defun browse-url-default-windows-browser (url &optional new-window) | 830 | (defun browse-url-default-windows-browser (url &optional new-window) |
| 830 | (interactive (browse-url-interactive-arg "URL: ")) | 831 | (interactive (browse-url-interactive-arg "URL: ")) |
diff --git a/lisp/obsolete/fast-lock.el b/lisp/obsolete/fast-lock.el index e2fb338242f..f34427c3140 100644 --- a/lisp/obsolete/fast-lock.el +++ b/lisp/obsolete/fast-lock.el | |||
| @@ -183,6 +183,8 @@ | |||
| 183 | 183 | ||
| 184 | (require 'font-lock) | 184 | (require 'font-lock) |
| 185 | 185 | ||
| 186 | (declare-function msdos-long-file-names "msdos.c") | ||
| 187 | |||
| 186 | ;; Make sure fast-lock.el is supported. | 188 | ;; Make sure fast-lock.el is supported. |
| 187 | (if (and (eq system-type 'ms-dos) (not (msdos-long-file-names))) | 189 | (if (and (eq system-type 'ms-dos) (not (msdos-long-file-names))) |
| 188 | (error "`fast-lock' was written for long file name systems")) | 190 | (error "`fast-lock' was written for long file name systems")) |
diff --git a/lisp/term/mac-win.el b/lisp/term/mac-win.el index c84614d2246..197d091e552 100644 --- a/lisp/term/mac-win.el +++ b/lisp/term/mac-win.el | |||
| @@ -84,6 +84,13 @@ | |||
| 84 | (defvar mac-font-panel-mode) | 84 | (defvar mac-font-panel-mode) |
| 85 | (defvar mac-ts-active-input-overlay) | 85 | (defvar mac-ts-active-input-overlay) |
| 86 | (defvar x-invocation-args) | 86 | (defvar x-invocation-args) |
| 87 | (declare-function mac-code-convert-string "mac.c") | ||
| 88 | (declare-function mac-coerce-ae-data "mac.c") | ||
| 89 | (declare-function mac-resume-apple-event "macselect.c") | ||
| 90 | (declare-function mac-font-panel-mode "macfns.c") | ||
| 91 | (declare-function mac-atsu-font-face-attributes "macfns.c") | ||
| 92 | (declare-function mac-ae-set-reply-parameter "macselect.c") | ||
| 93 | (declare-function mac-clear-font-name-table "macfns.c") | ||
| 87 | 94 | ||
| 88 | (defvar x-command-line-resources nil) | 95 | (defvar x-command-line-resources nil) |
| 89 | 96 | ||
diff --git a/lisp/term/pc-win.el b/lisp/term/pc-win.el index ecbda7d9c1e..2ddb4e40433 100644 --- a/lisp/term/pc-win.el +++ b/lisp/term/pc-win.el | |||
| @@ -29,6 +29,10 @@ | |||
| 29 | 29 | ||
| 30 | (load "term/internal" nil t) | 30 | (load "term/internal" nil t) |
| 31 | 31 | ||
| 32 | (declare-function msdos-remember-default-colors "msdos.c") | ||
| 33 | (declare-function w16-set-clipboard-data "w16select.c") | ||
| 34 | (declare-function w16-get-clipboard-data "w16select.c") | ||
| 35 | |||
| 32 | ;;; This is copied from etc/rgb.txt, except that some values were changed | 36 | ;;; This is copied from etc/rgb.txt, except that some values were changed |
| 33 | ;;; a bit to make them consistent with DOS console colors, and the RGB | 37 | ;;; a bit to make them consistent with DOS console colors, and the RGB |
| 34 | ;;; values were scaled up to 16 bits, as `tty-define-color' requires. | 38 | ;;; values were scaled up to 16 bits, as `tty-define-color' requires. |
diff --git a/lisp/term/w32-win.el b/lisp/term/w32-win.el index b98326dcd3e..754d4120454 100644 --- a/lisp/term/w32-win.el +++ b/lisp/term/w32-win.el | |||
| @@ -88,6 +88,10 @@ | |||
| 88 | (defvar xlfd-regexp-registry-subnum) | 88 | (defvar xlfd-regexp-registry-subnum) |
| 89 | (defvar w32-color-map) ;; defined in w32fns.c | 89 | (defvar w32-color-map) ;; defined in w32fns.c |
| 90 | 90 | ||
| 91 | (declare-function w32-send-sys-command "w32fns.c") | ||
| 92 | (declare-function w32-select-font "w32fns.c") | ||
| 93 | (declare-function set-message-beep "w32console.c") | ||
| 94 | |||
| 91 | ;; Conditional on new-fontset so bootstrapping works on non-GUI compiles | 95 | ;; Conditional on new-fontset so bootstrapping works on non-GUI compiles |
| 92 | (if (fboundp 'new-fontset) | 96 | (if (fboundp 'new-fontset) |
| 93 | (require 'fontset)) | 97 | (require 'fontset)) |
diff --git a/lisp/w32-fns.el b/lisp/w32-fns.el index 24203810f95..82343d4e14b 100644 --- a/lisp/w32-fns.el +++ b/lisp/w32-fns.el | |||
| @@ -74,6 +74,12 @@ | |||
| 74 | (set-keymap-parent local-function-key-map map))) | 74 | (set-keymap-parent local-function-key-map map))) |
| 75 | (set-terminal-parameter frame 'x-setup-function-keys t))) | 75 | (set-terminal-parameter frame 'x-setup-function-keys t))) |
| 76 | 76 | ||
| 77 | (declare-function set-message-beep "w32console.c") | ||
| 78 | (declare-function w32-get-clipboard-data "w32select.c") | ||
| 79 | (declare-function w32-get-locale-info "w32proc.c") | ||
| 80 | (declare-function w32-get-valid-locale-ids "w32proc.c") | ||
| 81 | (declare-function w32-set-clipboard-data "w32select.c") | ||
| 82 | |||
| 77 | ;; Ignore case on file-name completion | 83 | ;; Ignore case on file-name completion |
| 78 | (setq completion-ignore-case t) | 84 | (setq completion-ignore-case t) |
| 79 | 85 | ||