diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/minibuf.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/minibuf.c b/src/minibuf.c index b443ddcc740..5f866d52381 100644 --- a/src/minibuf.c +++ b/src/minibuf.c | |||
| @@ -338,7 +338,10 @@ get_minibuffer (depth) | |||
| 338 | XCONS (tail)->car = buf; | 338 | XCONS (tail)->car = buf; |
| 339 | } | 339 | } |
| 340 | else | 340 | else |
| 341 | reset_buffer (XBUFFER (buf)); | 341 | { |
| 342 | reset_buffer (XBUFFER (buf)); | ||
| 343 | Fkill_all_local_variables (buf); | ||
| 344 | } | ||
| 342 | 345 | ||
| 343 | return buf; | 346 | return buf; |
| 344 | } | 347 | } |