From: Glenn Morris Date: Thu, 13 Sep 2012 18:41:21 +0000 (-0400) Subject: Update some function declarations X-Git-Tag: emacs-24.2.90~282 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6a2e6868361c901f5c93f45df84622a1a9dbb889;p=emacs.git Update some function declarations * lisp/calc/calc-ext.el (math-compose-expr): * lisp/calc/calc.el (math-compose-expr): * lisp/progmodes/cc-defs.el (cl-macroexpand-all): * lisp/progmodes/cc-langs.el (delete-duplicates, mapcan) (cl-macroexpand-all): Update declarations. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 62ba7017163..c5c0c474940 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,11 @@ 2012-09-13 Glenn Morris + * calc/calc.el (math-compose-expr): + * calc/calc-ext.el (math-compose-expr): + * progmodes/cc-defs.el (cl-macroexpand-all): + * progmodes/cc-langs.el (delete-duplicates, mapcan) + (cl-macroexpand-all): Update declarations. + * vc/vc.el: No need to require ediff. (ediff-load-version-control): Declare. (ediff-vc-internal): Fix declaration. diff --git a/lisp/calc/calc-ext.el b/lisp/calc/calc-ext.el index 7089070df59..2fd5ad6fd9c 100644 --- a/lisp/calc/calc-ext.el +++ b/lisp/calc/calc-ext.el @@ -61,7 +61,7 @@ (declare-function math-vector-is-string "calccomp" (a)) (declare-function math-vector-to-string "calccomp" (a &optional quoted)) (declare-function math-format-radix-float "calc-bin" (a prec)) -(declare-function math-compose-expr "calccomp" (a prec)) +(declare-function math-compose-expr "calccomp" (a prec &optional div)) (declare-function math-abs "calc-arith" (a)) (declare-function math-format-bignum-binary "calc-bin" (a)) (declare-function math-format-bignum-octal "calc-bin" (a)) diff --git a/lisp/calc/calc.el b/lisp/calc/calc.el index 3e6ae1c7404..17f0998d30b 100644 --- a/lisp/calc/calc.el +++ b/lisp/calc/calc.el @@ -199,7 +199,7 @@ (declare-function calc-div-fractions "calc-frac" (a b)) (declare-function math-div-objects-fancy "calc-arith" (a b)) (declare-function math-div-symb-fancy "calc-arith" (a b)) -(declare-function math-compose-expr "calccomp" (a prec)) +(declare-function math-compose-expr "calccomp" (a prec &optional div)) (declare-function math-comp-width "calccomp" (c)) (declare-function math-composition-to-string "calccomp" (c &optional width)) (declare-function math-stack-value-offset-fancy "calccomp" ()) diff --git a/lisp/progmodes/cc-defs.el b/lisp/progmodes/cc-defs.el index 8bccb44f308..0dc596a472b 100644 --- a/lisp/progmodes/cc-defs.el +++ b/lisp/progmodes/cc-defs.el @@ -1829,7 +1829,7 @@ itself is evaluated." (eval form)) ;; Only used at compile time - suppress "might not be defined at runtime". -(declare-function cl-macroexpand-all "cl-extra" (form &optional env)) +(declare-function cl-macroexpand-all "cl" (form &optional env)) (defmacro c-lang-defconst (name &rest args) "Set the language specific values of the language constant NAME. diff --git a/lisp/progmodes/cc-langs.el b/lisp/progmodes/cc-langs.el index 78be8ac2cc4..d5a1be572ba 100644 --- a/lisp/progmodes/cc-langs.el +++ b/lisp/progmodes/cc-langs.el @@ -208,9 +208,10 @@ the evaluated constant value at compile time." ;; Suppress "might not be defined at runtime" warning. ;; This file is only used when compiling other cc files. -(declare-function delete-duplicates "cl-seq" (cl-seq &rest cl-keys)) -(declare-function mapcan "cl-extra" (cl-func cl-seq &rest cl-rest)) -(declare-function cl-macroexpand-all "cl-extra" (form &optional env)) +;; These are defined in cl as aliases to the cl- versions. +(declare-function delete-duplicates "cl-seq" (cl-seq &rest cl-keys) t) +(declare-function mapcan "cl-extra" (cl-func cl-seq &rest cl-rest) t) +(declare-function cl-macroexpand-all "cl" (form &optional env)) (eval-and-compile ;; Some helper functions used when building the language constants.