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
6c27465b
Commit
6c27465b
authored
Jan 23, 2013
by
Dmitry Antipov
Browse files
* insdel.c (prepare_to_modify_buffer): Force redisplay if
hidden buffer is prepared to modification (Bug#13164).
parent
d6f9c03f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
src/ChangeLog
src/ChangeLog
+5
-0
src/insdel.c
src/insdel.c
+5
-2
No files found.
src/ChangeLog
View file @
6c27465b
2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
* insdel.c (prepare_to_modify_buffer): Force redisplay if
hidden buffer is prepared to modification (Bug#13164).
2013-01-22 Dmitry Antipov <dmantipov@yandex.ru>
* window.h (struct window): Change window_end_valid member from
...
...
src/insdel.c
View file @
6c27465b
...
...
@@ -1804,9 +1804,12 @@ prepare_to_modify_buffer (ptrdiff_t start, ptrdiff_t end,
Fbarf_if_buffer_read_only
();
/* If we're modifying the buffer other than shown in a selected window,
let redisplay consider other windows if this buffer is visible. */
let redisplay consider other windows if this buffer is visible or
hidden (although hidden buffers have zero window counts, their state
may affect the display too, e.g. via mode lines of other buffers). */
if
(
XBUFFER
(
XWINDOW
(
selected_window
)
->
buffer
)
!=
current_buffer
&&
buffer_window_count
(
current_buffer
))
&&
(
buffer_window_count
(
current_buffer
)
||
BUFFER_HIDDEN_P
(
current_buffer
)))
++
windows_or_buffers_changed
;
if
(
buffer_intervals
(
current_buffer
))
...
...
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