mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
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.
This commit is contained in:
parent
d63d883a97
commit
b8e11d4102
2 changed files with 7 additions and 2 deletions
|
|
@ -1,3 +1,9 @@
|
|||
2014-05-14 Sam Steingold <sds@gnu.org>
|
||||
|
||||
* 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 <rgm@gnu.org>
|
||||
|
||||
* subr.el (with-file-modes): New macro.
|
||||
|
|
|
|||
|
|
@ -2058,8 +2058,7 @@ startup."
|
|||
(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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue