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
7fa57e45
Commit
7fa57e45
authored
Apr 10, 2005
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(Fmake_indirect_buffer): Clear out some local variables.
parent
a46c0153
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
2 deletions
+16
-2
src/buffer.c
src/buffer.c
+16
-2
No files found.
src/buffer.c
View file @
7fa57e45
...
...
@@ -630,7 +630,21 @@ CLONE nil means the indirect buffer's state is reset to default values. */)
XMARKER
(
b
->
zv_marker
)
->
insertion_type
=
1
;
}
else
clone_per_buffer_values
(
b
->
base_buffer
,
b
);
{
struct
buffer
*
old_b
=
current_buffer
;
clone_per_buffer_values
(
b
->
base_buffer
,
b
);
b
->
filename
=
Qnil
;
b
->
file_truename
=
Qnil
;
b
->
display_count
=
make_number
(
0
);
b
->
backed_up
=
Qnil
;
b
->
auto_save_file_name
=
Qnil
;
set_buffer_internal_1
(
b
);
Fset
(
intern
(
"buffer-save-without-query"
),
Qnil
);
Fset
(
intern
(
"buffer-file-number"
),
Qnil
);
Fset
(
intern
(
"buffer-stale-function"
),
Qnil
);
set_buffer_internal_1
(
old_b
);
}
return
buf
;
}
...
...
@@ -931,7 +945,7 @@ is the default binding of variable. */)
}
/* Return an alist of the Lisp-level buffer-local bindings of
buffer BUF. That is, do't include
the variables maintained
buffer BUF. That is, do
n
't include the variables maintained
in special slots in the buffer object. */
static
Lisp_Object
...
...
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