diff options
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/objects.texi | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/lispref/objects.texi b/doc/lispref/objects.texi index 1e448b64296..aa1e073042f 100644 --- a/doc/lispref/objects.texi +++ b/doc/lispref/objects.texi | |||
| @@ -1485,8 +1485,8 @@ types that are not built into Emacs. | |||
| 1485 | @subsection Type Descriptors | 1485 | @subsection Type Descriptors |
| 1486 | 1486 | ||
| 1487 | A @dfn{type descriptor} is a @code{record} which holds information | 1487 | A @dfn{type descriptor} is a @code{record} which holds information |
| 1488 | about a type. Slot 1 in the record must be a symbol naming the type, and | 1488 | about a type. The first slot in the record must be a symbol naming the type, |
| 1489 | @code{type-of} relies on this to return the type of @code{record} | 1489 | and @code{type-of} relies on this to return the type of @code{record} |
| 1490 | objects. No other type descriptor slot is used by Emacs; they are | 1490 | objects. No other type descriptor slot is used by Emacs; they are |
| 1491 | free for use by Lisp extensions. | 1491 | free for use by Lisp extensions. |
| 1492 | 1492 | ||
| @@ -2175,7 +2175,7 @@ with references to further information. | |||
| 2175 | function @code{type-of}. Recall that each object belongs to one and | 2175 | function @code{type-of}. Recall that each object belongs to one and |
| 2176 | only one primitive type; @code{type-of} tells you which one (@pxref{Lisp | 2176 | only one primitive type; @code{type-of} tells you which one (@pxref{Lisp |
| 2177 | Data Types}). But @code{type-of} knows nothing about non-primitive | 2177 | Data Types}). But @code{type-of} knows nothing about non-primitive |
| 2178 | types. In most cases, it is more convenient to use type predicates than | 2178 | types. In most cases, it is preferable to use type predicates than |
| 2179 | @code{type-of}. | 2179 | @code{type-of}. |
| 2180 | 2180 | ||
| 2181 | @defun type-of object | 2181 | @defun type-of object |