summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/cl.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2008-11-19 04:33:52 +0000
committerGlenn Morris <rgm@gnu.org>2008-11-19 04:33:52 +0000
commitec3025937116b3d07572954fa6ec4fe6bb9d412b (patch)
treea295a76ecea13fd5337792bac02378d458c122e2 /lisp/emacs-lisp/cl.el
parenta70f4c6f5591d5b1ae3772330770b1d7fe827bed (diff)
(floor*, ceiling*, truncate*, round*, mod*): Declare.
Diffstat (limited to 'lisp/emacs-lisp/cl.el')
-rw-r--r--lisp/emacs-lisp/cl.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/cl.el b/lisp/emacs-lisp/cl.el
index d757d60b3da..18eaf8b94dc 100644
--- a/lisp/emacs-lisp/cl.el
+++ b/lisp/emacs-lisp/cl.el
@@ -541,6 +541,14 @@ The elements of LIST are not copied, just the list structure itself."
list)
(defalias 'cl-member 'memq) ; for compatibility with old CL package
+
+;; Autoloaded, but we have not loaded cl-loaddefs yet.
+(declare-function floor* "cl-extra" (x &optional y))
+(declare-function ceiling* "cl-extra" (x &optional y))
+(declare-function truncate* "cl-extra" (x &optional y))
+(declare-function round* "cl-extra" (x &optional y))
+(declare-function mod* "cl-extra" (x y))
+
(defalias 'cl-floor 'floor*)
(defalias 'cl-ceiling 'ceiling*)
(defalias 'cl-truncate 'truncate*)