emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/progmodes/python.el,v


From: Stefan Monnier
Subject: [Emacs-diffs] Changes to emacs/lisp/progmodes/python.el,v
Date: Wed, 30 Aug 2006 21:10:12 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Stefan Monnier <monnier>        06/08/30 21:10:11

Index: progmodes/python.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/progmodes/python.el,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -b -r1.45 -r1.46
--- progmodes/python.el 28 Aug 2006 21:58:27 -0000      1.45
+++ progmodes/python.el 30 Aug 2006 21:10:10 -0000      1.46
@@ -1599,6 +1599,8 @@
 instance.  Assumes an inferior Python is running."
   (let ((symbol (with-syntax-table python-dotty-syntax-table
                  (current-word))))
+    ;; This is run from timers, so inhibit-quit tends to be set.
+    (with-local-quit
     ;; First try the symbol we're on.
     (or (and symbol
             (python-send-receive (format "emacs.eargs(%S, %s)"
@@ -1616,7 +1618,7 @@
                      (python-send-receive
                       (format "emacs.eargs(%S, %s)"
                               (buffer-substring-no-properties (point) point)
-                              python-imports)))))))))))
+                                 python-imports))))))))))))
 
 ;;;; Info-look functionality.
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]