diff options
| author | Dan Nicolaescu | 2007-11-21 03:06:01 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2007-11-21 03:06:01 +0000 |
| commit | e8ffb999b95ca059dc97343a2c3571eb493255b8 (patch) | |
| tree | ab6af235ac06b5c2104a24e0973dc14f31ba08eb | |
| parent | 3644f7865b7689bb40e956ab95d8a7d5c9b69bdb (diff) | |
| download | emacs-e8ffb999b95ca059dc97343a2c3571eb493255b8.tar.gz emacs-e8ffb999b95ca059dc97343a2c3571eb493255b8.zip | |
* frame.el (msdos-mouse-p):
* generic-x.el (w32-shell-name):
* files.el (msdos-long-file-names, w32-long-file-name)
(msdos-long-file-names, dired-get-filename, dired-unmark)
(dired-do-flagged-delete, dos-8+3-filename, vms-read-directory)
(view-mode-disable):
* 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):
* w32-fns.el (set-message-beep, w32-get-clipboard-data)
(w32-get-locale-info, w32-get-valid-locale-ids)
(w32-set-clipboard-data):
* help-fns.el (ad-get-advice-info):
* font-lock.el (fast-lock-after-fontify-buffer)
(fast-lock-after-unfontify-buffer, fast-lock-mode)
(lazy-lock-after-fontify-buffer)
(lazy-lock-after-unfontify-buffer, lazy-lock-mode):
* net/browse-url.el (w32-shell-execute):
* dos-fns.el (int86, msdos-long-file-names):
* dos-w32.el (default-printer-name): Declare as functions.
| -rw-r--r-- | lisp/ChangeLog | 28 | ||||
| -rw-r--r-- | lisp/dos-fns.el | 3 | ||||
| -rw-r--r-- | lisp/dos-w32.el | 2 | ||||
| -rw-r--r-- | lisp/emulation/viper-cmd.el | 4 | ||||
| -rw-r--r-- | lisp/files.el | 10 | ||||
| -rw-r--r-- | lisp/font-lock.el | 7 | ||||
| -rw-r--r-- | lisp/frame.el | 2 | ||||
| -rw-r--r-- | lisp/generic-x.el | 2 | ||||
| -rw-r--r-- | lisp/help-fns.el | 2 | ||||
| -rw-r--r-- | lisp/mail/emacsbug.el | 4 | ||||
| -rw-r--r-- | lisp/net/browse-url.el | 1 | ||||
| -rw-r--r-- | lisp/progmodes/python.el | 2 | ||||
| -rw-r--r-- | lisp/term/mac-win.el | 8 | ||||
| -rw-r--r-- | lisp/term/pc-win.el | 4 | ||||
| -rw-r--r-- | lisp/term/w32-win.el | 4 | ||||
| -rw-r--r-- | lisp/url/url-file.el | 2 | ||||
| -rw-r--r-- | lisp/w32-fns.el | 6 |
17 files changed, 85 insertions, 6 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index af14d6fa5ce..18de50ed4cc 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,31 @@ | |||
| 1 | 2007-11-21 Dan Nicolaescu <dann@ics.uci.edu> | ||
| 2 | |||
| 3 | * frame.el (msdos-mouse-p): | ||
| 4 | * generic-x.el (w32-shell-name): | ||
| 5 | * files.el (msdos-long-file-names, w32-long-file-name) | ||
| 6 | (msdos-long-file-names, dired-get-filename, dired-unmark) | ||
| 7 | (dired-do-flagged-delete, dos-8+3-filename, vms-read-directory) | ||
| 8 | (view-mode-disable): | ||
| 9 | * term/mac-win.el (mac-code-convert-string, mac-coerce-ae-data) | ||
| 10 | (mac-resume-apple-event, mac-font-panel-mode) | ||
| 11 | (mac-atsu-font-face-attributes, mac-ae-set-reply-parameter) | ||
| 12 | (mac-clear-font-name-table): | ||
| 13 | * term/pc-win.el (msdos-remember-default-colors) | ||
| 14 | (w16-set-clipboard-data, w16-get-clipboard-data): | ||
| 15 | * term/w32-win.el (w32-send-sys-command, w32-select-font) | ||
| 16 | (set-message-beep): | ||
| 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 | * help-fns.el (ad-get-advice-info): | ||
| 21 | * font-lock.el (fast-lock-after-fontify-buffer) | ||
| 22 | (fast-lock-after-unfontify-buffer, fast-lock-mode) | ||
| 23 | (lazy-lock-after-fontify-buffer) | ||
| 24 | (lazy-lock-after-unfontify-buffer, lazy-lock-mode): | ||
| 25 | * net/browse-url.el (w32-shell-execute): | ||
| 26 | * dos-fns.el (int86, msdos-long-file-names): | ||
| 27 | * dos-w32.el (default-printer-name): Declare as functions. | ||
| 28 | |||
| 1 | 2007-11-21 Juanma Barranquero <lekktu@gmail.com> | 29 | 2007-11-21 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 30 | ||
| 3 | * textmodes/paragraphs.el (forward-sentence): Doc fix. | 31 | * textmodes/paragraphs.el (forward-sentence): Doc fix. |
diff --git a/lisp/dos-fns.el b/lisp/dos-fns.el index c66cbc7933a..62b71640017 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) ;; Defined in C. | ||
| 33 | (declare-function msdos-long-file-names) ;; Defined in 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..4b307423fb5 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) ;; Defined in 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/emulation/viper-cmd.el b/lisp/emulation/viper-cmd.el index c90cecf8adc..2c07017e389 100644 --- a/lisp/emulation/viper-cmd.el +++ b/lisp/emulation/viper-cmd.el | |||
| @@ -3097,8 +3097,8 @@ On reaching beginning of line, stop and signal error." | |||
| 3097 | (setq this-command 'next-line) | 3097 | (setq this-command 'next-line) |
| 3098 | (if com (viper-execute-com 'viper-next-line val com)))) | 3098 | (if com (viper-execute-com 'viper-next-line val com)))) |
| 3099 | 3099 | ||
| 3100 | (declare-function widget-type "../widget" (widget)) | 3100 | (declare-function widget-type "../wid-edit" (widget)) |
| 3101 | (declare-function widget-button-press "../widget" (pos &optional event)) | 3101 | (declare-function widget-button-press "../wid-edit" (pos &optional event)) |
| 3102 | (declare-function viper-set-hooks "viper" ()) | 3102 | (declare-function viper-set-hooks "viper" ()) |
| 3103 | 3103 | ||
| 3104 | (defun viper-next-line-at-bol (arg) | 3104 | (defun viper-next-line-at-bol (arg) |
diff --git a/lisp/files.el b/lisp/files.el index d8c78a320ec..7575948b9db 100644 --- a/lisp/files.el +++ b/lisp/files.el | |||
| @@ -213,6 +213,16 @@ 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) ;; Defined in C. | ||
| 217 | (declare-function w32-long-file-name) ;; Defined in C. | ||
| 218 | (declare-function msdos-long-file-names) ;; Defined in C. | ||
| 219 | (declare-function dired-get-filename "dired" (&optional localp no-error-if-not-filep)) | ||
| 220 | (declare-function dired-unmark "dired" (arg)) | ||
| 221 | (declare-function dired-do-flagged-delete "dired" (&optional nomessage)) | ||
| 222 | (declare-function dos-8+3-filename "dos-fns" (filename)) | ||
| 223 | (declare-function vms-read-directory "vms-patch" (dirname switches buffer)) | ||
| 224 | (declare-function view-mode-disable "view" ()) | ||
| 225 | |||
| 216 | (defvar file-name-invalid-regexp | 226 | (defvar file-name-invalid-regexp |
| 217 | (cond ((and (eq system-type 'ms-dos) (not (msdos-long-file-names))) | 227 | (cond ((and (eq system-type 'ms-dos) (not (msdos-long-file-names))) |
| 218 | (concat "^\\([^A-Z[-`a-z]\\|..+\\)?:\\|" ; colon except after drive | 228 | (concat "^\\([^A-Z[-`a-z]\\|..+\\)?:\\|" ; colon except after drive |
diff --git a/lisp/font-lock.el b/lisp/font-lock.el index 16f9730b1d1..7e1fff79772 100644 --- a/lisp/font-lock.el +++ b/lisp/font-lock.el | |||
| @@ -886,6 +886,13 @@ The value of this variable is used when Font Lock mode is turned on." | |||
| 886 | (defvar lazy-lock-mode) | 886 | (defvar lazy-lock-mode) |
| 887 | (defvar jit-lock-mode) | 887 | (defvar jit-lock-mode) |
| 888 | 888 | ||
| 889 | (declare-function fast-lock-after-fontify-buffer "obsolete/fast-lock") | ||
| 890 | (declare-function fast-lock-after-unfontify-buffer "obsolete/fast-lock") | ||
| 891 | (declare-function fast-lock-mode "obsolete/fast-lock") | ||
| 892 | (declare-function lazy-lock-after-fontify-buffer "obsolete/lazy-lock") | ||
| 893 | (declare-function lazy-lock-after-unfontify-buffer "obsolete/lazy-lock") | ||
| 894 | (declare-function lazy-lock-mode "obsolete/lazy-lock") | ||
| 895 | |||
| 889 | (defun font-lock-turn-on-thing-lock () | 896 | (defun font-lock-turn-on-thing-lock () |
| 890 | (let ((thing-mode (font-lock-value-in-major-mode font-lock-support-mode))) | 897 | (let ((thing-mode (font-lock-value-in-major-mode font-lock-support-mode))) |
| 891 | (cond ((eq thing-mode 'fast-lock-mode) | 898 | (cond ((eq thing-mode 'fast-lock-mode) |
diff --git a/lisp/frame.el b/lisp/frame.el index 1c11829475b..6e660b1b5e5 100644 --- a/lisp/frame.el +++ b/lisp/frame.el | |||
| @@ -1126,6 +1126,8 @@ bars (top, bottom, or nil)." | |||
| 1126 | "Return the terminal that is now selected." | 1126 | "Return the terminal that is now selected." |
| 1127 | (frame-terminal (selected-frame))) | 1127 | (frame-terminal (selected-frame))) |
| 1128 | 1128 | ||
| 1129 | (declare-function msdos-mouse-p) ;; Defined in C only for on platform. | ||
| 1130 | |||
| 1129 | (defun display-mouse-p (&optional display) | 1131 | (defun display-mouse-p (&optional display) |
| 1130 | "Return non-nil if DISPLAY has a mouse available. | 1132 | "Return non-nil if DISPLAY has a mouse available. |
| 1131 | DISPLAY can be a display name, a frame, or nil (meaning the selected | 1133 | DISPLAY can be a display name, a frame, or nil (meaning the selected |
diff --git a/lisp/generic-x.el b/lisp/generic-x.el index fbabf6e6996..7b65f07e2c1 100644 --- a/lisp/generic-x.el +++ b/lisp/generic-x.el | |||
| @@ -524,6 +524,8 @@ like an INI file. You can add this hook to `find-file-hook'." | |||
| 524 | (defvar bat-generic-mode-keymap (make-sparse-keymap) | 524 | (defvar bat-generic-mode-keymap (make-sparse-keymap) |
| 525 | "Keymap for `bat-generic-mode'.") | 525 | "Keymap for `bat-generic-mode'.") |
| 526 | 526 | ||
| 527 | (declare-function w32-shell-name "w32-fns" ()) | ||
| 528 | |||
| 527 | (defun bat-generic-mode-compile () | 529 | (defun bat-generic-mode-compile () |
| 528 | "Run the current BAT file in a compilation buffer." | 530 | "Run the current BAT file in a compilation buffer." |
| 529 | (interactive) | 531 | (interactive) |
diff --git a/lisp/help-fns.el b/lisp/help-fns.el index 2bfd4176567..0643b85672c 100644 --- a/lisp/help-fns.el +++ b/lisp/help-fns.el | |||
| @@ -248,6 +248,8 @@ face (according to `face-differs-from-default-p')." | |||
| 248 | src-file | 248 | src-file |
| 249 | file-name))) | 249 | file-name))) |
| 250 | 250 | ||
| 251 | (declare-function ad-get-advice-info "emacs-lisp/advice" (function)) | ||
| 252 | |||
| 251 | ;;;###autoload | 253 | ;;;###autoload |
| 252 | (defun describe-function-1 (function) | 254 | (defun describe-function-1 (function) |
| 253 | (let* ((advised (and (featurep 'advice) (ad-get-advice-info function))) | 255 | (let* ((advised (and (featurep 'advice) (ad-get-advice-info function))) |
diff --git a/lisp/mail/emacsbug.el b/lisp/mail/emacsbug.el index eb96ef07612..dab87e04497 100644 --- a/lisp/mail/emacsbug.el +++ b/lisp/mail/emacsbug.el | |||
| @@ -229,8 +229,8 @@ Type SPC to scroll through this section and its subsections.")))) | |||
| 229 | (setq report-emacs-bug-orig-text (buffer-substring (point-min) (point)))) | 229 | (setq report-emacs-bug-orig-text (buffer-substring (point-min) (point)))) |
| 230 | (goto-char user-point))) | 230 | (goto-char user-point))) |
| 231 | 231 | ||
| 232 | (declare-function Info-menu "info" (menu-item &optional fork)) | 232 | (declare-function Info-menu "../info" (menu-item &optional fork)) |
| 233 | (declare-function Info-goto-node "info" (nodename &optional fork)) | 233 | (declare-function Info-goto-node "../info" (nodename &optional fork)) |
| 234 | 234 | ||
| 235 | (defun report-emacs-bug-info () | 235 | (defun report-emacs-bug-info () |
| 236 | "Go to the Info node on reporting Emacs bugs." | 236 | "Go to the Info node on reporting Emacs bugs." |
diff --git a/lisp/net/browse-url.el b/lisp/net/browse-url.el index 523588ec7c2..977639eec55 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) ;; 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/progmodes/python.el b/lisp/progmodes/python.el index 4039a4f4a43..04cc07a2eb4 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -1656,7 +1656,7 @@ instance. Assumes an inferior Python is running." | |||
| 1656 | 1656 | ||
| 1657 | ;;;; Info-look functionality. | 1657 | ;;;; Info-look functionality. |
| 1658 | 1658 | ||
| 1659 | (declare-function info-lookup-maybe-add-help "info-look" (&rest arg)) | 1659 | (declare-function info-lookup-maybe-add-help "../info-look" (&rest arg)) |
| 1660 | 1660 | ||
| 1661 | (defun python-after-info-look () | 1661 | (defun python-after-info-look () |
| 1662 | "Set up info-look for Python. | 1662 | "Set up info-look for Python. |
diff --git a/lisp/term/mac-win.el b/lisp/term/mac-win.el index c84614d2246..050bd04d59e 100644 --- a/lisp/term/mac-win.el +++ b/lisp/term/mac-win.el | |||
| @@ -85,6 +85,14 @@ | |||
| 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 | 87 | ||
| 88 | (declare-function mac-code-convert-string) ;; Defined in C. | ||
| 89 | (declare-function mac-coerce-ae-data) ;; Defined in C. | ||
| 90 | (declare-function mac-resume-apple-event) ;; Defined in C. | ||
| 91 | (declare-function mac-font-panel-mode) ;; Defined in C. | ||
| 92 | (declare-function mac-atsu-font-face-attributes) ;; Defined in C. | ||
| 93 | (declare-function mac-ae-set-reply-parameter) ;; Defined in C. | ||
| 94 | (declare-function mac-clear-font-name-table) ;; Defined in C. | ||
| 95 | |||
| 88 | (defvar x-command-line-resources nil) | 96 | (defvar x-command-line-resources nil) |
| 89 | 97 | ||
| 90 | ;; Handler for switches of the form "-switch value" or "-switch". | 98 | ;; Handler for switches of the form "-switch value" or "-switch". |
diff --git a/lisp/term/pc-win.el b/lisp/term/pc-win.el index ecbda7d9c1e..d9ed7385514 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) ;; Defined in C. | ||
| 33 | (declare-function w16-set-clipboard-data) ;; Defined in C. | ||
| 34 | (declare-function w16-get-clipboard-data) ;; Defined in 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 7ea8f08a67e..90b88f359bc 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) ;; Defined in C. | ||
| 92 | (declare-function w32-select-font) ;; Defined in C. | ||
| 93 | (declare-function set-message-beep) ;; Defined in 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/url/url-file.el b/lisp/url/url-file.el index c39dcc030ac..9af3bbb42b4 100644 --- a/lisp/url/url-file.el +++ b/lisp/url/url-file.el | |||
| @@ -90,7 +90,7 @@ to them." | |||
| 90 | (declare-function ange-ftp-copy-file-internal "../net/ange-ftp" | 90 | (declare-function ange-ftp-copy-file-internal "../net/ange-ftp" |
| 91 | (filename newname ok-if-already-exists | 91 | (filename newname ok-if-already-exists |
| 92 | keep-date &optional msg cont nowait)) | 92 | keep-date &optional msg cont nowait)) |
| 93 | (declare-function url-generate-unique-filename "url-utile" (&optional fmt)) | 93 | (declare-function url-generate-unique-filename "url-util" (&optional fmt)) |
| 94 | 94 | ||
| 95 | (defun url-file-build-filename (url) | 95 | (defun url-file-build-filename (url) |
| 96 | (if (not (vectorp url)) | 96 | (if (not (vectorp url)) |
diff --git a/lisp/w32-fns.el b/lisp/w32-fns.el index d9257475447..670c4e45db0 100644 --- a/lisp/w32-fns.el +++ b/lisp/w32-fns.el | |||
| @@ -38,6 +38,12 @@ | |||
| 38 | 38 | ||
| 39 | (defvar explicit-shell-file-name) | 39 | (defvar explicit-shell-file-name) |
| 40 | 40 | ||
| 41 | (declare-function set-message-beep) ;; Defined in C. | ||
| 42 | (declare-function w32-get-clipboard-data) ;; Defined in C. | ||
| 43 | (declare-function w32-get-locale-info) ;; Defined in C. | ||
| 44 | (declare-function w32-get-valid-locale-ids) ;; Defined in C. | ||
| 45 | (declare-function w32-set-clipboard-data) ;; Defined in C. | ||
| 46 | |||
| 41 | ;; Map delete and backspace | 47 | ;; Map delete and backspace |
| 42 | (define-key function-key-map [backspace] "\177") | 48 | (define-key function-key-map [backspace] "\177") |
| 43 | (define-key function-key-map [delete] "\C-d") | 49 | (define-key function-key-map [delete] "\C-d") |