diff options
| author | Karl Heuer | 1995-02-28 05:26:35 +0000 |
|---|---|---|
| committer | Karl Heuer | 1995-02-28 05:26:35 +0000 |
| commit | 887e0cbab7170d0ca51d5c4425e1d925ba545291 (patch) | |
| tree | b5f23781331f6464f17a6da897ce4f0a02add199 /src | |
| parent | c759a12159801857090e53f84a8f283446292b1d (diff) | |
| download | emacs-887e0cbab7170d0ca51d5c4425e1d925ba545291.tar.gz emacs-887e0cbab7170d0ca51d5c4425e1d925ba545291.zip | |
(Fcall_interactively): Lock the display before executing the command, no
matter how we execute it.
Diffstat (limited to 'src')
| -rw-r--r-- | src/callint.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/callint.c b/src/callint.c index a1dfbe6cd29..1ee61d9e35f 100644 --- a/src/callint.c +++ b/src/callint.c | |||
| @@ -254,7 +254,12 @@ Otherwise, this is done only if an arg is read using the minibuffer.") | |||
| 254 | specs = Fcar (Fcdr (specs)); | 254 | specs = Fcar (Fcdr (specs)); |
| 255 | } | 255 | } |
| 256 | else if (EQ (funcar, Qmocklisp)) | 256 | else if (EQ (funcar, Qmocklisp)) |
| 257 | return ml_apply (fun, Qinteractive); | 257 | { |
| 258 | #ifdef MULTI_PERDISPLAY | ||
| 259 | display_locked = 1; | ||
| 260 | #endif | ||
| 261 | return ml_apply (fun, Qinteractive); | ||
| 262 | } | ||
| 258 | else | 263 | else |
| 259 | goto lose; | 264 | goto lose; |
| 260 | 265 | ||
| @@ -306,6 +311,9 @@ Otherwise, this is done only if an arg is read using the minibuffer.") | |||
| 306 | Vcommand_history | 311 | Vcommand_history |
| 307 | = Fcons (Fcons (function, values), Vcommand_history); | 312 | = Fcons (Fcons (function, values), Vcommand_history); |
| 308 | } | 313 | } |
| 314 | #ifdef MULTI_PERDISPLAY | ||
| 315 | display_locked = 1; | ||
| 316 | #endif | ||
| 309 | return apply1 (function, specs); | 317 | return apply1 (function, specs); |
| 310 | } | 318 | } |
| 311 | 319 | ||