aboutsummaryrefslogtreecommitdiffstats
path: root/src/character.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/character.c')
-rw-r--r--src/character.c6
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,
232In Emacs Lisp, characters are represented by character codes, which 232In Emacs Lisp, characters are represented by character codes, which
233are non-negative integers. The function `max-char' returns the 233are non-negative integers. The function `max-char' returns the
234maximum character code. 234maximum character code.
235usage: (characterp OBJECT) */) 235usage: (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
241DEFUN ("max-char", Fmax_char, Smax_char, 0, 0, 0, 242DEFUN ("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);