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
9aab521a
Commit
9aab521a
authored
Mar 21, 1994
by
Karl Heuer
Browse files
(Fmake_local_variable): Void variables stay void.
parent
a7605222
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 @
9aab521a
...
...
@@ -1113,6 +1113,8 @@ DEFUN ("make-local-variable", Fmake_local_variable, Smake_local_variable,
1
,
1
,
"vMake Local Variable: "
,
"Make VARIABLE have a separate value in the current buffer.
\n
\
Other buffers will continue to share a common default value.
\n
\
\(The buffer-local value of VARIABLE starts out as the same value
\n
VARIABLE previously had. If VARIABLE was void, it remains void.\)
\n
See also `make-variable-buffer-local'.
\n\n
\
If the variable is already arranged to become local when set,
\n
\
this function causes a local value to exist for this buffer,
\n
\
...
...
@@ -1141,8 +1143,6 @@ just as if the variable were set.")
/* Make sure sym is set up to hold per-buffer values */
if
(
XTYPE
(
valcontents
)
!=
Lisp_Some_Buffer_Local_Value
)
{
if
(
EQ
(
valcontents
,
Qunbound
))
XSYMBOL
(
sym
)
->
value
=
Qnil
;
tem
=
Fcons
(
Qnil
,
do_symval_forwarding
(
valcontents
));
XCONS
(
tem
)
->
car
=
tem
;
XSYMBOL
(
sym
)
->
value
=
Fcons
(
XSYMBOL
(
sym
)
->
value
,
Fcons
(
Qnil
,
tem
));
...
...
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