]> git.eshelyaron.com Git - emacs.git/commitdiff
(read_minibuf_unwind): Use safe_run_hooks.
authorRichard M. Stallman <rms@gnu.org>
Mon, 25 Sep 1995 18:42:00 +0000 (18:42 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 25 Sep 1995 18:42:00 +0000 (18:42 +0000)
src/minibuf.c

index e03b4820801b5f77b9b1caed027c06b36b4f34e8..ef4289c8e3db744293bbd338712e9b45933f9327 100644 (file)
@@ -375,7 +375,7 @@ read_minibuf_unwind (data)
      so run the hook.  */
   if (!NILP (Vminibuffer_exit_hook) && !EQ (Vminibuffer_exit_hook, Qunbound)
       && !NILP (Vrun_hooks))
-    call1 (Vrun_hooks, Qminibuffer_exit_hook);
+    safe_run_hooks (Qminibuffer_exit_hook);
 
   /* Erase the minibuffer we were using at this level.  */
   Fset_buffer (XWINDOW (minibuf_window)->buffer);