aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorStefan Monnier2015-09-08 09:06:49 -0400
committerStefan Monnier2015-09-08 09:06:49 -0400
commit645c8597e7f9fbc90ffe227d2be8ce383b0777ae (patch)
tree4843b695cbddee0a78c97ab1c8e5debe4ff06eb6 /src/process.c
parent10e7f7de910ca816799062f33b830f7598801f0e (diff)
downloademacs-645c8597e7f9fbc90ffe227d2be8ce383b0777ae.tar.gz
emacs-645c8597e7f9fbc90ffe227d2be8ce383b0777ae.zip
* src/process.c (status_notify): Avoid global redisplay (bug#11822)
* src/process.c (status_notify): Only set the update_mode_line on the relevant buffers rather than setting it globally.
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/process.c b/src/process.c
index f4613be28ed..26f26c30240 100644
--- a/src/process.c
+++ b/src/process.c
@@ -6694,10 +6694,12 @@ status_notify (struct Lisp_Process *deleting_process,
6694 p->update_tick = p->tick; 6694 p->update_tick = p->tick;
6695 /* Now output the message suitably. */ 6695 /* Now output the message suitably. */
6696 exec_sentinel (proc, msg); 6696 exec_sentinel (proc, msg);
6697 if (BUFFERP (p->buffer))
6698 /* In case it uses %s in mode-line-format. */
6699 bset_update_mode_line (XBUFFER (p->buffer));
6697 } 6700 }
6698 } /* end for */ 6701 } /* end for */
6699 6702
6700 update_mode_lines = 24; /* In case buffers use %s in mode-line-format. */
6701 return got_some_output; 6703 return got_some_output;
6702} 6704}
6703 6705