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
f8354c6e
Commit
f8354c6e
authored
Aug 15, 2009
by
Chong Yidong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* xdisp.c (pop_it): Don't pop into a display vector (Bug#4131).
parent
b5b98ff4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
src/ChangeLog
src/ChangeLog
+2
-0
src/xdisp.c
src/xdisp.c
+10
-0
No files found.
src/ChangeLog
View file @
f8354c6e
2009-08-15 Chong Yidong <cyd@stupidchicken.com>
2009-08-15 Chong Yidong <cyd@stupidchicken.com>
* xdisp.c (pop_it): Don't pop into a display vector (Bug#4131).
* buffer.c (set_buffer_internal_1)
* buffer.c (set_buffer_internal_1)
(swap_out_buffer_local_variables): Check for unbound local
(swap_out_buffer_local_variables): Check for unbound local
variables (Bug#4138).
variables (Bug#4138).
...
...
src/xdisp.c
View file @
f8354c6e
...
@@ -5167,6 +5167,16 @@ pop_it (it)
...
@@ -5167,6 +5167,16 @@ pop_it (it)
case GET_FROM_STRING:
case GET_FROM_STRING:
it->object = it->string;
it->object = it->string;
break;
break;
case GET_FROM_DISPLAY_VECTOR:
if (it->s)
it->method = GET_FROM_C_STRING;
else if (STRINGP (it->string))
it->method = GET_FROM_STRING;
else
{
it->method = GET_FROM_BUFFER;
it->object = it->w->buffer;
}
}
}
it->end_charpos = p->end_charpos;
it->end_charpos = p->end_charpos;
it->string_nchars = p->string_nchars;
it->string_nchars = p->string_nchars;
...
...
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