emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] trunk r117107: avoid unnecessary questions


From: Sam Steingold
Subject: [Emacs-diffs] trunk r117107: avoid unnecessary questions
Date: Wed, 14 May 2014 18:17:10 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 117107
revision-id: address@hidden
parent: address@hidden
committer: Sam Steingold <address@hidden>
branch nick: trunk
timestamp: Wed 2014-05-14 14:17:05 -0400
message:
  avoid unnecessary questions
  
  * lisp/progmodes/python.el (python-shell-get-or-create-process):
  Do not bind `current-prefix-arg' so that C-c C-z does not talk
  back unless requested.
modified:
  lisp/ChangeLog                 changelog-20091113204419-o5vbwnq5f7feedwu-1432
  lisp/progmodes/python.el       python.el-20091113204419-o5vbwnq5f7feedwu-3008
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2014-05-14 17:15:15 +0000
+++ b/lisp/ChangeLog    2014-05-14 18:17:05 +0000
@@ -1,3 +1,9 @@
+2014-05-14  Sam Steingold  <address@hidden>
+
+       * progmodes/python.el (python-shell-get-or-create-process):
+       Do not bind `current-prefix-arg' so that C-c C-z does not talk
+       back unless requested.
+
 2014-05-14  Glenn Morris  <address@hidden>
 
        * subr.el (with-file-modes): New macro.

=== modified file 'lisp/progmodes/python.el'
--- a/lisp/progmodes/python.el  2014-04-06 23:23:45 +0000
+++ b/lisp/progmodes/python.el  2014-05-14 18:17:05 +0000
@@ -2058,8 +2058,7 @@
          (global-proc-name  (python-shell-get-process-name nil))
          (global-proc-buffer-name (format "*%s*" global-proc-name))
          (dedicated-running (comint-check-proc dedicated-proc-buffer-name))
-         (global-running (comint-check-proc global-proc-buffer-name))
-         (current-prefix-arg 16))
+         (global-running (comint-check-proc global-proc-buffer-name)))
     (when (and (not dedicated-running) (not global-running))
       (if (call-interactively 'run-python)
           (setq dedicated-running t)


reply via email to

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