diff options
| author | Glenn Morris | 2014-01-21 20:50:40 -0500 |
|---|---|---|
| committer | Glenn Morris | 2014-01-21 20:50:40 -0500 |
| commit | cc0f2ece4753d6e15eaa9519dc672b9ef332a55d (patch) | |
| tree | 6e1b64e83a6b0b1ec69c684f6413db104c352fcd | |
| parent | 1bf6ecf2b3fb69af5fce50111f8c911e3438f4b4 (diff) | |
| download | emacs-cc0f2ece4753d6e15eaa9519dc672b9ef332a55d.tar.gz emacs-cc0f2ece4753d6e15eaa9519dc672b9ef332a55d.zip | |
Fix some function declarations
* lisp/calc/calc-embed.el (thing-at-point-looking-at):
* lisp/emacs-lisp/map-ynp.el (x-popup-dialog):
* lisp/obsolete/lmenu.el (x-popup-dialog):
* lisp/emacs-lisp/package.el (url-recreate-url):
* lisp/mail/mailclient.el (clipboard-kill-ring-save):
* lisp/subr.el (x-popup-dialog): Update declaration.
* lisp/mail/rmail.el (rmail-mime-message-p):
* lisp/window.el (tool-bar-lines-needed): Remove unnecessary declaration.
| -rw-r--r-- | lisp/ChangeLog | 11 | ||||
| -rw-r--r-- | lisp/calc/calc-embed.el | 3 | ||||
| -rw-r--r-- | lisp/emacs-lisp/map-ynp.el | 2 | ||||
| -rw-r--r-- | lisp/emacs-lisp/package.el | 2 | ||||
| -rw-r--r-- | lisp/mail/mailclient.el | 3 | ||||
| -rw-r--r-- | lisp/mail/rmail.el | 1 | ||||
| -rw-r--r-- | lisp/obsolete/lmenu.el | 2 | ||||
| -rw-r--r-- | lisp/subr.el | 2 | ||||
| -rw-r--r-- | lisp/window.el | 1 |
9 files changed, 19 insertions, 8 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 6bdf4463a6f..b87d79bb573 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,14 @@ | |||
| 1 | 2014-01-22 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * calc/calc-embed.el (thing-at-point-looking-at): | ||
| 4 | * emacs-lisp/map-ynp.el (x-popup-dialog): | ||
| 5 | * obsolete/lmenu.el (x-popup-dialog): | ||
| 6 | * emacs-lisp/package.el (url-recreate-url): | ||
| 7 | * mail/mailclient.el (clipboard-kill-ring-save): | ||
| 8 | * subr.el (x-popup-dialog): Update declaration. | ||
| 9 | * mail/rmail.el (rmail-mime-message-p): | ||
| 10 | * window.el (tool-bar-lines-needed): Remove unnecessary declaration. | ||
| 11 | |||
| 1 | 2014-01-21 Daniel Colascione <dancol@dancol.org> | 12 | 2014-01-21 Daniel Colascione <dancol@dancol.org> |
| 2 | 13 | ||
| 3 | * progmodes/sh-script.el (sh--inside-noncommand-expression): | 14 | * progmodes/sh-script.el (sh--inside-noncommand-expression): |
diff --git a/lisp/calc/calc-embed.el b/lisp/calc/calc-embed.el index e6fbb18dd8a..52d2f4c0611 100644 --- a/lisp/calc/calc-embed.el +++ b/lisp/calc/calc-embed.el | |||
| @@ -30,7 +30,8 @@ | |||
| 30 | (require 'calc-macs) | 30 | (require 'calc-macs) |
| 31 | 31 | ||
| 32 | ;; Declare functions which are defined elsewhere. | 32 | ;; Declare functions which are defined elsewhere. |
| 33 | (declare-function thing-at-point-looking-at "thingatpt" (regexp)) | 33 | (declare-function thing-at-point-looking-at "thingatpt" |
| 34 | (regexp &optional distance)) | ||
| 34 | 35 | ||
| 35 | 36 | ||
| 36 | (defun calc-show-plain (n) | 37 | (defun calc-show-plain (n) |
diff --git a/lisp/emacs-lisp/map-ynp.el b/lisp/emacs-lisp/map-ynp.el index 5ab42621ded..7e4534a1f42 100644 --- a/lisp/emacs-lisp/map-ynp.el +++ b/lisp/emacs-lisp/map-ynp.el | |||
| @@ -34,7 +34,7 @@ | |||
| 34 | 34 | ||
| 35 | ;;; Code: | 35 | ;;; Code: |
| 36 | 36 | ||
| 37 | (declare-function x-popup-dialog "xmenu.c" (position contents &optional header)) | 37 | (declare-function x-popup-dialog "menu.c" (position contents &optional header)) |
| 38 | 38 | ||
| 39 | (defun map-y-or-n-p (prompter actor list &optional help action-alist | 39 | (defun map-y-or-n-p (prompter actor list &optional help action-alist |
| 40 | no-cursor-in-echo-area) | 40 | no-cursor-in-echo-area) |
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el index 118cf69e9cd..1daa9c04083 100644 --- a/lisp/emacs-lisp/package.el +++ b/lisp/emacs-lisp/package.el | |||
| @@ -210,7 +210,7 @@ If VERSION is nil, the package is not loaded (it is \"disabled\")." | |||
| 210 | (declare-function lm-header "lisp-mnt" (header)) | 210 | (declare-function lm-header "lisp-mnt" (header)) |
| 211 | (declare-function lm-commentary "lisp-mnt" (&optional file)) | 211 | (declare-function lm-commentary "lisp-mnt" (&optional file)) |
| 212 | (defvar url-http-end-of-headers) | 212 | (defvar url-http-end-of-headers) |
| 213 | (declare-function url-recreate-url "url" (urlobj)) | 213 | (declare-function url-recreate-url "url-parse" (urlobj)) |
| 214 | (defvar url-http-target-url) | 214 | (defvar url-http-target-url) |
| 215 | 215 | ||
| 216 | (defcustom package-archives '(("gnu" . "http://elpa.gnu.org/packages/")) | 216 | (defcustom package-archives '(("gnu" . "http://elpa.gnu.org/packages/")) |
diff --git a/lisp/mail/mailclient.el b/lisp/mail/mailclient.el index ce613fe70af..62285591470 100644 --- a/lisp/mail/mailclient.el +++ b/lisp/mail/mailclient.el | |||
| @@ -99,7 +99,8 @@ supported. Defaults to non-nil on Windows, nil otherwise." | |||
| 99 | (mail-strip-quoted-names field) "\, *")) | 99 | (mail-strip-quoted-names field) "\, *")) |
| 100 | result))))) | 100 | result))))) |
| 101 | 101 | ||
| 102 | (declare-function clipboard-kill-ring-save "menu-bar.el" (beg end)) | 102 | (declare-function clipboard-kill-ring-save "menu-bar.el" |
| 103 | (beg end &optional region)) | ||
| 103 | 104 | ||
| 104 | ;;;###autoload | 105 | ;;;###autoload |
| 105 | (defun mailclient-send-it () | 106 | (defun mailclient-send-it () |
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index cfde976ea0b..6692028c272 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el | |||
| @@ -4121,7 +4121,6 @@ The message should be narrowed to just the headers." | |||
| 4121 | 4121 | ||
| 4122 | (autoload 'mail-position-on-field "sendmail") | 4122 | (autoload 'mail-position-on-field "sendmail") |
| 4123 | 4123 | ||
| 4124 | (declare-function rmail-mime-message-p "rmailmm" ()) | ||
| 4125 | (declare-function rmail-mime-toggle-raw "rmailmm" (&optional state)) | 4124 | (declare-function rmail-mime-toggle-raw "rmailmm" (&optional state)) |
| 4126 | 4125 | ||
| 4127 | (defun rmail-retry-failure () | 4126 | (defun rmail-retry-failure () |
diff --git a/lisp/obsolete/lmenu.el b/lisp/obsolete/lmenu.el index 632d3386867..8f676e00e43 100644 --- a/lisp/obsolete/lmenu.el +++ b/lisp/obsolete/lmenu.el | |||
| @@ -131,7 +131,7 @@ | |||
| 131 | (setq menu-items (cdr menu-items))) | 131 | (setq menu-items (cdr menu-items))) |
| 132 | menu)) | 132 | menu)) |
| 133 | 133 | ||
| 134 | (declare-function x-popup-dialog "xmenu.c" (position contents &optional header)) | 134 | (declare-function x-popup-dialog "menu.c" (position contents &optional header)) |
| 135 | 135 | ||
| 136 | ;; XEmacs compatibility function | 136 | ;; XEmacs compatibility function |
| 137 | (defun popup-dialog-box (data) | 137 | (defun popup-dialog-box (data) |
diff --git a/lisp/subr.el b/lisp/subr.el index 40465556531..6709ebf0d02 100644 --- a/lisp/subr.el +++ b/lisp/subr.el | |||
| @@ -2177,7 +2177,7 @@ floating point support." | |||
| 2177 | nil)))))) | 2177 | nil)))))) |
| 2178 | 2178 | ||
| 2179 | ;; Behind display-popup-menus-p test. | 2179 | ;; Behind display-popup-menus-p test. |
| 2180 | (declare-function x-popup-dialog "xmenu.c" (position contents &optional header)) | 2180 | (declare-function x-popup-dialog "menu.c" (position contents &optional header)) |
| 2181 | 2181 | ||
| 2182 | (defun y-or-n-p (prompt) | 2182 | (defun y-or-n-p (prompt) |
| 2183 | "Ask user a \"y or n\" question. Return t if answer is \"y\". | 2183 | "Ask user a \"y or n\" question. Return t if answer is \"y\". |
diff --git a/lisp/window.el b/lisp/window.el index 29f38538855..9bc929109d4 100644 --- a/lisp/window.el +++ b/lisp/window.el | |||
| @@ -6811,7 +6811,6 @@ See also `fit-frame-to-buffer-margins'." | |||
| 6811 | :group 'help) | 6811 | :group 'help) |
| 6812 | 6812 | ||
| 6813 | (declare-function x-display-pixel-height "xfns.c" (&optional terminal)) | 6813 | (declare-function x-display-pixel-height "xfns.c" (&optional terminal)) |
| 6814 | (declare-function tool-bar-lines-needed "xdisp.c" (&optional frame)) | ||
| 6815 | 6814 | ||
| 6816 | (defun window--sanitize-margin (margin left right) | 6815 | (defun window--sanitize-margin (margin left right) |
| 6817 | "Return MARGIN if it's a number between LEFT and RIGHT." | 6816 | "Return MARGIN if it's a number between LEFT and RIGHT." |