Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- From 2dc764dc55dc47037fdb771d7ed6c201cdeb0976 Mon Sep 17 00:00:00 2001
- From: Eric Hanchrow <eric.hanchrow@gmail.com>
- Date: Wed, 11 Jun 2014 21:45:33 -0400
- Subject: [PATCH] * lisp/progmodes/python.el (run-python): Use
- read-shell-command.
- Conflicts:
- lisp/ChangeLog
- ---
- lisp/ChangeLog | 38 +++++++++++++++++++++++++++++---------
- lisp/progmodes/python.el | 2 +-
- 2 files changed, 30 insertions(+), 10 deletions(-)
- diff --git a/lisp/ChangeLog b/lisp/ChangeLog
- index eb31d5f..02fa6fc 100644
- --- a/lisp/ChangeLog
- +++ b/lisp/ChangeLog
- @@ -1,17 +1,35 @@
- -2015-04-10 Nicolas Petton <nicolas@petton.fr>
- -
- - * Version 24.5 released.
- -
- -2015-04-03 Alan Mackenzie <acm@muc.de>
- -
- - * progmodes/cc-mode.el (c-font-lock-init): Revert 2015-02-01 change
- - "Stop Font Lock forcing fontification from BOL." (Bug#20245)
- +2014-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
- +
- + * rect.el: Make it possible to move bounds past EOL or into TABs.
- + (operate-on-rectangle): Use apply-on-rectangle.
- + (rectangle--mark-crutches): New var.
- + (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
- + (rectangle--crutches, rectangle--reset-crutches): New functions.
- + (apply-on-rectangle): Obey crutches. Avoid setq.
- + Fix missing final iteration if end is at EOB&BOL.
- + (rectangle-mark-mode-map): Add remap bindings for
- + exchange-point-and-mark and char/line movements.
- + (rectangle--*-char): New function.
- + (rectangle-exchange-point-and-mark, rectangle-right-char)
- + (rectangle-left-char, rectangle-forward-char)
- + (rectangle-backward-char, rectangle-next-line)
- + (rectangle-previous-line): New commands.
- + (rectangle--place-cursor): New function.
- + (rectangle--highlight-for-redisplay): Use it. Use apply-on-rectangle.
- +
- +2014-05-18 Eric Hanchrow <eric.hanchrow@gmail.com>
- +
- + * progmodes/python.el (run-python): Use read-shell-command.
- 2015-04-01 Michael Albinus <michael.albinus@gmx.de>
- * net/tramp.el (tramp-handle-unhandled-file-name-directory):
- Return nil when required by the spec. (Bug#20233)
- +2015-04-01 Nicolas Petton <nicolas@petton.fr>
- +
- + * Version 24.5 released.
- +
- 2015-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
- * emacs-lisp/smie.el (smie-backward-sexp-command)
- @@ -203,8 +221,10 @@
- 2015-02-01 Alan Mackenzie <acm@muc.de>
- CC Mode: Stop Font Lock forcing fontification from BOL.
- + Fixes debbugs#19669.
- +
- * progmodes/cc-mode.el (c-font-lock-init):
- - Setq font-lock-extend-region-functions to nil. (Bug#19669)
- + Setq font-lock-extend-region-functions to nil.
- 2015-01-31 Alan Mackenzie <acm@muc.de>
- diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
- index de2d2d1..02137ce 100644
- --- a/lisp/progmodes/python.el
- +++ b/lisp/progmodes/python.el
- @@ -2314,7 +2314,7 @@ process buffer for a list of commands.)"
- (interactive
- (if current-prefix-arg
- (list
- - (read-string "Run Python: " (python-shell-parse-command))
- + (read-shell-command "Run Python: " (python-shell-parse-command))
- (y-or-n-p "Make dedicated process? ")
- (= (prefix-numeric-value current-prefix-arg) 4))
- (list (python-shell-parse-command) nil t)))
- --
- 2.1.0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement