Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
093c2e1a
Commit
093c2e1a
authored
Feb 29, 2024
by
Basil L. Contovounesios
Browse files
; Fix some wording in recent obarray changes.
parent
39239982
Pipeline
#28380
failed with stage
in 68 minutes and 29 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
doc/lispref/symbols.texi
doc/lispref/symbols.texi
+1
-1
lisp/obarray.el
lisp/obarray.el
+5
-4
No files found.
doc/lispref/symbols.texi
View file @
093c2e1a
...
...
@@ -231,7 +231,7 @@ Emacs Lisp provides a different namespacing system called
This function creates and returns a new obarray.
The optional @var{size} may be used to specify the number of symbols
that it is expected to hold, but since obarrays grow automatically
as needed, this rarely provide any benefit.
as needed, this rarely provide
s
any benefit.
@end defun
@defun obarrayp object
...
...
lisp/obarray.el
View file @
093c2e1a
...
...
@@ -29,10 +29,11 @@
(
defconst
obarray-default-size
4
)
(
make-obsolete-variable
'obarray-default-size
"obarrays now grow automatically"
"30.1"
)
"obarrays now grow automatically
.
"
"30.1"
)
(
defun
obarray-size
(
_ob
)
obarray-default-size
)
(
make-obsolete
'obarray-size
"obarrays now grow automatically"
"30.1"
)
(
defun
obarray-size
(
_ob
)
(
declare
(
obsolete
"obarrays now grow automatically."
"30.1"
))
obarray-default-size
)
;; Don’t use obarray as a variable name to avoid shadowing.
(
defun
obarray-get
(
ob
name
)
...
...
@@ -42,7 +43,7 @@ Return nil otherwise."
(
defun
obarray-put
(
ob
name
)
"Return symbol named NAME from obarray OB.
Creates and adds the symbol if doesn't exist."
Creates and adds the symbol if
it
doesn't exist."
(
intern
name
ob
))
(
defun
obarray-remove
(
ob
name
)
...
...
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