]> git.eshelyaron.com Git - emacs.git/commitdiff
Update some function declarations
authorGlenn Morris <rgm@gnu.org>
Thu, 13 Sep 2012 18:41:21 +0000 (14:41 -0400)
committerGlenn Morris <rgm@gnu.org>
Thu, 13 Sep 2012 18:41:21 +0000 (14:41 -0400)
* 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.

lisp/ChangeLog
lisp/calc/calc-ext.el
lisp/calc/calc.el
lisp/progmodes/cc-defs.el
lisp/progmodes/cc-langs.el

index 62ba701716372eeedf8a17aaaebc7e642719e6a2..c5c0c47494035cdc60f47913cd5088db39974cd6 100644 (file)
@@ -1,5 +1,11 @@
 2012-09-13  Glenn Morris  <rgm@gnu.org>
 
+       * 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.
index 7089070df5907d3b9824b9e862988994be74e0cd..2fd5ad6fd9c77a0904faca8929e3352ecb7eb001 100644 (file)
@@ -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))
index 3e6ae1c7404e83293b277a87843621e9b262f497..17f0998d30bfd9f403fcf99cfbdeb472cfd2f9b7 100644 (file)
 (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" ())
index 8bccb44f308d131ed6a91784b19b881bd8613fc0..0dc596a472b0854eff688189af5639c7705f76e8 100644 (file)
@@ -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.
index 78be8ac2cc4f2c28f82ca81678d755a993c25cb8..d5a1be572ba6d80f344be3abd4d329b084415293 100644 (file)
@@ -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.