diff options
| author | Paul Eggert | 2017-04-04 18:39:43 -0700 |
|---|---|---|
| committer | Paul Eggert | 2017-04-04 18:40:02 -0700 |
| commit | f1d34d9136fbf1dc2cf58b5ba36311451f024956 (patch) | |
| tree | b94012305ec3dcae301dba58d957d381e92541f4 | |
| parent | ab0a27517c9f9cc9d7a29171558247471ebe1152 (diff) | |
| download | emacs-f1d34d9136fbf1dc2cf58b5ba36311451f024956.tar.gz emacs-f1d34d9136fbf1dc2cf58b5ba36311451f024956.zip | |
Minor cleanups related to type-of
* src/data.c (Frecordp): Rename from Frecordp_p, for consistency.
* src/data.c (syms_of_data):
* src/frame.c (syms_of_frame): Put all the primitive type names
together, under the "Types that type-of returns" comment.
| -rw-r--r-- | src/data.c | 10 | ||||
| -rw-r--r-- | src/frame.c | 2 |
2 files changed, 5 insertions, 7 deletions
diff --git a/src/data.c b/src/data.c index 5fdbec2000e..3ffca54658d 100644 --- a/src/data.c +++ b/src/data.c | |||
| @@ -368,7 +368,7 @@ DEFUN ("vectorp", Fvectorp, Svectorp, 1, 1, 0, | |||
| 368 | return Qnil; | 368 | return Qnil; |
| 369 | } | 369 | } |
| 370 | 370 | ||
| 371 | DEFUN ("recordp", Frecordp_p, Srecordp, 1, 1, 0, | 371 | DEFUN ("recordp", Frecordp, Srecordp, 1, 1, 0, |
| 372 | doc: /* Return t if OBJECT is a record. */) | 372 | doc: /* Return t if OBJECT is a record. */) |
| 373 | (Lisp_Object object) | 373 | (Lisp_Object object) |
| 374 | { | 374 | { |
| @@ -3589,7 +3589,6 @@ syms_of_data (void) | |||
| 3589 | 3589 | ||
| 3590 | DEFSYM (Qquote, "quote"); | 3590 | DEFSYM (Qquote, "quote"); |
| 3591 | DEFSYM (Qlambda, "lambda"); | 3591 | DEFSYM (Qlambda, "lambda"); |
| 3592 | DEFSYM (Qsubr, "subr"); | ||
| 3593 | DEFSYM (Qerror_conditions, "error-conditions"); | 3592 | DEFSYM (Qerror_conditions, "error-conditions"); |
| 3594 | DEFSYM (Qerror_message, "error-message"); | 3593 | DEFSYM (Qerror_message, "error-message"); |
| 3595 | DEFSYM (Qtop_level, "top-level"); | 3594 | DEFSYM (Qtop_level, "top-level"); |
| @@ -3737,6 +3736,7 @@ syms_of_data (void) | |||
| 3737 | DEFSYM (Qwindow_configuration, "window-configuration"); | 3736 | DEFSYM (Qwindow_configuration, "window-configuration"); |
| 3738 | DEFSYM (Qprocess, "process"); | 3737 | DEFSYM (Qprocess, "process"); |
| 3739 | DEFSYM (Qwindow, "window"); | 3738 | DEFSYM (Qwindow, "window"); |
| 3739 | DEFSYM (Qsubr, "subr"); | ||
| 3740 | DEFSYM (Qcompiled_function, "compiled-function"); | 3740 | DEFSYM (Qcompiled_function, "compiled-function"); |
| 3741 | DEFSYM (Qbuffer, "buffer"); | 3741 | DEFSYM (Qbuffer, "buffer"); |
| 3742 | DEFSYM (Qframe, "frame"); | 3742 | DEFSYM (Qframe, "frame"); |
| @@ -3748,12 +3748,12 @@ syms_of_data (void) | |||
| 3748 | DEFSYM (Qthread, "thread"); | 3748 | DEFSYM (Qthread, "thread"); |
| 3749 | DEFSYM (Qmutex, "mutex"); | 3749 | DEFSYM (Qmutex, "mutex"); |
| 3750 | DEFSYM (Qcondition_variable, "condition-variable"); | 3750 | DEFSYM (Qcondition_variable, "condition-variable"); |
| 3751 | |||
| 3752 | DEFSYM (Qdefun, "defun"); | ||
| 3753 | |||
| 3754 | DEFSYM (Qfont_spec, "font-spec"); | 3751 | DEFSYM (Qfont_spec, "font-spec"); |
| 3755 | DEFSYM (Qfont_entity, "font-entity"); | 3752 | DEFSYM (Qfont_entity, "font-entity"); |
| 3756 | DEFSYM (Qfont_object, "font-object"); | 3753 | DEFSYM (Qfont_object, "font-object"); |
| 3754 | DEFSYM (Qterminal, "terminal"); | ||
| 3755 | |||
| 3756 | DEFSYM (Qdefun, "defun"); | ||
| 3757 | 3757 | ||
| 3758 | DEFSYM (Qinteractive_form, "interactive-form"); | 3758 | DEFSYM (Qinteractive_form, "interactive-form"); |
| 3759 | DEFSYM (Qdefalias_fset_function, "defalias-fset-function"); | 3759 | DEFSYM (Qdefalias_fset_function, "defalias-fset-function"); |
diff --git a/src/frame.c b/src/frame.c index 162b2038fd8..d873147fc8b 100644 --- a/src/frame.c +++ b/src/frame.c | |||
| @@ -4923,8 +4923,6 @@ syms_of_frame (void) | |||
| 4923 | DEFSYM (Qx_resource_name, "x-resource-name"); | 4923 | DEFSYM (Qx_resource_name, "x-resource-name"); |
| 4924 | DEFSYM (Qx_frame_parameter, "x-frame-parameter"); | 4924 | DEFSYM (Qx_frame_parameter, "x-frame-parameter"); |
| 4925 | 4925 | ||
| 4926 | DEFSYM (Qterminal, "terminal"); | ||
| 4927 | |||
| 4928 | DEFSYM (Qworkarea, "workarea"); | 4926 | DEFSYM (Qworkarea, "workarea"); |
| 4929 | DEFSYM (Qmm_size, "mm-size"); | 4927 | DEFSYM (Qmm_size, "mm-size"); |
| 4930 | DEFSYM (Qframes, "frames"); | 4928 | DEFSYM (Qframes, "frames"); |