]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fplist_get): Don't QUIT is interrupt_input_blocked.
authorGerd Moellmann <gerd@gnu.org>
Wed, 11 Apr 2001 12:58:21 +0000 (12:58 +0000)
committerGerd Moellmann <gerd@gnu.org>
Wed, 11 Apr 2001 12:58:21 +0000 (12:58 +0000)
src/ChangeLog
src/fns.c

index bf6c5522d25e37717dea96e26546b65a6b54c198..b471a4cb4b886397c91526843f30e93df79d8088 100644 (file)
@@ -1,3 +1,7 @@
+2001-04-11  Gerd Moellmann  <gerd@gnu.org>
+
+       * fns.c (Fplist_get): Don't QUIT if interrupt_input_blocked.
+
 2001-04-10  Gerd Moellmann  <gerd@gnu.org>
 
        * fns.c (Fcompare_strings): Fix return values.
index ceda1cfbf41d515418f50e1b7e5d6fe1394ff22d..c0b8190433e27c912d20011bfb0559835b4be963 100644 (file)
--- a/src/fns.c
+++ b/src/fns.c
@@ -1872,7 +1872,11 @@ one of the properties on the list.")
     {
       if (EQ (prop, XCAR (tail)))
        return XCAR (XCDR (tail));
-      QUIT;
+
+      /* This function can be called asynchronously
+        (setup_coding_system).  Don't QUIT in that case.  */
+      if (!interrupt_input_blocked)
+       QUIT;
     }
 
   if (!NILP (tail))
@@ -1915,6 +1919,7 @@ The PLIST is modified by side effects.")
          Fsetcar (XCDR (tail), val);
          return plist;
        }
+      
       prev = tail;
       QUIT;
     }