summaryrefslogtreecommitdiff
path: root/src/charset.c
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2022-08-18 12:08:24 +0200
committerMattias EngdegÄrd <mattiase@acm.org>2022-08-18 17:10:46 +0200
commitf33a429a53ea2647199804f12e16c65768d526d5 (patch)
tree14bb7d259c719135775d6b4d3aa692e0789545a2 /src/charset.c
parente75822fba6ee5f1cced6b87305fc0f444803feb7 (diff)
downloademacs-f33a429a53ea2647199804f12e16c65768d526d5.tar.gz
emacs-f33a429a53ea2647199804f12e16c65768d526d5.tar.bz2
emacs-f33a429a53ea2647199804f12e16c65768d526d5.zip
Copy-edit doc strings and comments wrt bignum and fixnum
Don't say that a value is a fixnum if small enough and a bignum otherwise, because that is now how Lisp integers always work, and we generally don't expose the fixnum/bignum difference to the user unless really necessary. * src/charset.c (Fencode_char): * src/editfns.c (Fuser_uid, Fuser_real_uid, Fgroup_gid) (Fgroup_real_gid, Femacs_pid): * src/font.c (Ffont_variation_glyphs): * src/process.c (Fprocess_id): Edit doc strings. * src/pgtkselect.c: * src/xselect.c: Edit comments.
Diffstat (limited to 'src/charset.c')
-rw-r--r--src/charset.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/charset.c b/src/charset.c
index 9edbd4c8c84..bb59262fe98 100644
--- a/src/charset.c
+++ b/src/charset.c
@@ -1852,9 +1852,8 @@ although this usage is obsolescent. */)
DEFUN ("encode-char", Fencode_char, Sencode_char, 2, 2, 0,
doc: /* Encode the character CH into a code-point of CHARSET.
-Return the encoded code-point, a fixnum if its value is small enough,
-otherwise a bignum.
-Return nil if CHARSET doesn't support CH. */)
+Return the encoded code-point as an integer,
+or nil if CHARSET doesn't support CH. */)
(Lisp_Object ch, Lisp_Object charset)
{
int c, id;