diff options
| author | Glenn Morris | 2013-02-19 21:07:07 -0500 |
|---|---|---|
| committer | Glenn Morris | 2013-02-19 21:07:07 -0500 |
| commit | 1dfcc79e83d3db031b45e9f6b9314dc1f0697b1d (patch) | |
| tree | a2b4c595e8c665d19759bcc0f5a0a8dfa0439f7f /doc | |
| parent | 81ed22e4cad625e297314bc609d146e7e62695db (diff) | |
| download | emacs-1dfcc79e83d3db031b45e9f6b9314dc1f0697b1d.tar.gz emacs-1dfcc79e83d3db031b45e9f6b9314dc1f0697b1d.zip | |
Make cl-floatp-safe just an alias for floatp
* lisp/emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
* lisp/emacs-lisp/cl-macs.el (cl--make-type-test)
(cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
* doc/misc/cl.texi: Remove commented out sections about cl-floatp-safe.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/misc/cl.texi | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/doc/misc/cl.texi b/doc/misc/cl.texi index 11f19c8df06..83df411cb23 100644 --- a/doc/misc/cl.texi +++ b/doc/misc/cl.texi | |||
| @@ -703,14 +703,6 @@ The type symbol @code{real} is a synonym for @code{number}, and | |||
| 703 | The type symbols @code{character} and @code{string-char} match | 703 | The type symbols @code{character} and @code{string-char} match |
| 704 | integers in the range from 0 to 255. | 704 | integers in the range from 0 to 255. |
| 705 | 705 | ||
| 706 | @c No longer relevant, so covered by first item above (float -> floatp). | ||
| 707 | @ignore | ||
| 708 | @item | ||
| 709 | The type symbol @code{float} uses the @code{cl-floatp-safe} predicate | ||
| 710 | defined by this package rather than @code{floatp}, so it will work | ||
| 711 | correctly even in Emacs versions without floating-point support. | ||
| 712 | @end ignore | ||
| 713 | |||
| 714 | @item | 706 | @item |
| 715 | The type list @code{(integer @var{low} @var{high})} represents all | 707 | The type list @code{(integer @var{low} @var{high})} represents all |
| 716 | integers between @var{low} and @var{high}, inclusive. Either bound | 708 | integers between @var{low} and @var{high}, inclusive. Either bound |
| @@ -2921,14 +2913,6 @@ This predicate tests whether @var{integer} is even. It is an | |||
| 2921 | error if the argument is not an integer. | 2913 | error if the argument is not an integer. |
| 2922 | @end defun | 2914 | @end defun |
| 2923 | 2915 | ||
| 2924 | @ignore | ||
| 2925 | @defun cl-floatp-safe object | ||
| 2926 | This predicate tests whether @var{object} is a floating-point | ||
| 2927 | number. On systems that support floating-point, this is equivalent | ||
| 2928 | to @code{floatp}. On other systems, this always returns @code{nil}. | ||
| 2929 | @end defun | ||
| 2930 | @end ignore | ||
| 2931 | |||
| 2932 | @node Numerical Functions | 2916 | @node Numerical Functions |
| 2933 | @section Numerical Functions | 2917 | @section Numerical Functions |
| 2934 | 2918 | ||