Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
c80bd143
Commit
c80bd143
authored
Nov 16, 1994
by
Karl Heuer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(syms_of_data): Set Qwholenump as function, not variable.
(Fnatnump): Use NATNUMP macro.
parent
c9dad5ed
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/data.c
src/data.c
+2
-2
No files found.
src/data.c
View file @
c80bd143
...
...
@@ -329,7 +329,7 @@ DEFUN ("natnump", Fnatnump, Snatnump, 1, 1, 0,
(
obj
)
Lisp_Object
obj
;
{
if
(
INTEGERP
(
obj
)
&&
XINT
(
obj
)
>=
0
)
if
(
NATNUMP
(
obj
))
return
Qt
;
return
Qnil
;
}
...
...
@@ -2345,7 +2345,7 @@ syms_of_data ()
defsubr
(
&
Ssub1
);
defsubr
(
&
Slognot
);
Fset
(
Qwholenump
,
Qnatnump
)
;
XSYMBOL
(
Qwholenump
)
->
function
=
XSYMBOL
(
Qnatnump
)
->
function
;
}
SIGTYPE
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment