diff options
Diffstat (limited to 'src/character.c')
| -rw-r--r-- | src/character.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/character.c b/src/character.c index 4a5c7ec3156..39d32c9d41a 100644 --- a/src/character.c +++ b/src/character.c | |||
| @@ -232,14 +232,16 @@ DEFUN ("characterp", Fcharacterp, Scharacterp, 1, 2, 0, | |||
| 232 | In Emacs Lisp, characters are represented by character codes, which | 232 | In Emacs Lisp, characters are represented by character codes, which |
| 233 | are non-negative integers. The function `max-char' returns the | 233 | are non-negative integers. The function `max-char' returns the |
| 234 | maximum character code. | 234 | maximum character code. |
| 235 | usage: (characterp OBJECT) */) | 235 | usage: (characterp OBJECT) */ |
| 236 | attributes: const) | ||
| 236 | (Lisp_Object object, Lisp_Object ignore) | 237 | (Lisp_Object object, Lisp_Object ignore) |
| 237 | { | 238 | { |
| 238 | return (CHARACTERP (object) ? Qt : Qnil); | 239 | return (CHARACTERP (object) ? Qt : Qnil); |
| 239 | } | 240 | } |
| 240 | 241 | ||
| 241 | DEFUN ("max-char", Fmax_char, Smax_char, 0, 0, 0, | 242 | DEFUN ("max-char", Fmax_char, Smax_char, 0, 0, 0, |
| 242 | doc: /* Return the character of the maximum code. */) | 243 | doc: /* Return the character of the maximum code. */ |
| 244 | attributes: const) | ||
| 243 | (void) | 245 | (void) |
| 244 | { | 246 | { |
| 245 | return make_number (MAX_CHAR); | 247 | return make_number (MAX_CHAR); |