diff options
| author | Fabián Ezequiel Gallina | 2014-12-08 22:19:37 -0300 |
|---|---|---|
| committer | Fabián Ezequiel Gallina | 2014-12-08 22:19:37 -0300 |
| commit | afa1d80fe03b8ca9af62158b563d6429b51b7ee1 (patch) | |
| tree | 054e23c1870ea138258aa4da816953a9ec4dad07 | |
| parent | 09ef13993b7a650039eb884c694660b17e61bb5c (diff) | |
| download | emacs-afa1d80fe03b8ca9af62158b563d6429b51b7ee1.tar.gz emacs-afa1d80fe03b8ca9af62158b563d6429b51b7ee1.zip | |
python.el: Don't change `comint-prompt-read-only' globally
Fixes: debbugs:19288
* lisp/progmodes/python.el (inferior-python-mode): Set
`comint-prompt-read-only` to `t` only locally.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/progmodes/python.el | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2669e07cd15..df057ac1070 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2014-12-09 Fabián Ezequiel Gallina <fgallina@gnu.org> | ||
| 2 | |||
| 3 | * progmodes/python.el (inferior-python-mode): Set | ||
| 4 | `comint-prompt-read-only` to `t` only locally. | ||
| 5 | |||
| 1 | 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org> | 6 | 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 2 | 7 | ||
| 3 | * net/nsm.el (nsm-check-protocol): Test for RC4 on `high'. | 8 | * net/nsm.el (nsm-check-protocol): Test for RC4 on `high'. |
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 33c822a37d5..63597d5f75a 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -2441,8 +2441,8 @@ variable. | |||
| 2441 | (set (make-local-variable 'python-shell--prompt-calculated-input-regexp) nil) | 2441 | (set (make-local-variable 'python-shell--prompt-calculated-input-regexp) nil) |
| 2442 | (set (make-local-variable 'python-shell--prompt-calculated-output-regexp) nil) | 2442 | (set (make-local-variable 'python-shell--prompt-calculated-output-regexp) nil) |
| 2443 | (python-shell-prompt-set-calculated-regexps) | 2443 | (python-shell-prompt-set-calculated-regexps) |
| 2444 | (setq comint-prompt-regexp python-shell--prompt-calculated-input-regexp | 2444 | (setq comint-prompt-regexp python-shell--prompt-calculated-input-regexp) |
| 2445 | comint-prompt-read-only t) | 2445 | (set (make-local-variable 'comint-prompt-read-only) t) |
| 2446 | (setq mode-line-process '(":%s")) | 2446 | (setq mode-line-process '(":%s")) |
| 2447 | (set (make-local-variable 'comint-output-filter-functions) | 2447 | (set (make-local-variable 'comint-output-filter-functions) |
| 2448 | '(ansi-color-process-output | 2448 | '(ansi-color-process-output |