Mercurial > emacs
comparison src/minibuf.c @ 13081:eb159c99326b
(read_minibuf_unwind): Use safe_run_hooks.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 25 Sep 1995 18:42:00 +0000 |
parents | 88a47d611c4a |
children | 74da6a581095 |
comparison
equal
deleted
inserted
replaced
13080:21a1494b450c | 13081:eb159c99326b |
---|---|
373 | 373 |
374 /* We are exiting the minibuffer one way or the other, | 374 /* We are exiting the minibuffer one way or the other, |
375 so run the hook. */ | 375 so run the hook. */ |
376 if (!NILP (Vminibuffer_exit_hook) && !EQ (Vminibuffer_exit_hook, Qunbound) | 376 if (!NILP (Vminibuffer_exit_hook) && !EQ (Vminibuffer_exit_hook, Qunbound) |
377 && !NILP (Vrun_hooks)) | 377 && !NILP (Vrun_hooks)) |
378 call1 (Vrun_hooks, Qminibuffer_exit_hook); | 378 safe_run_hooks (Qminibuffer_exit_hook); |
379 | 379 |
380 /* Erase the minibuffer we were using at this level. */ | 380 /* Erase the minibuffer we were using at this level. */ |
381 Fset_buffer (XWINDOW (minibuf_window)->buffer); | 381 Fset_buffer (XWINDOW (minibuf_window)->buffer); |
382 | 382 |
383 /* Prevent error in erase-buffer. */ | 383 /* Prevent error in erase-buffer. */ |