diff options
| author | Fabián Ezequiel Gallina | 2012-05-17 00:02:53 -0300 |
|---|---|---|
| committer | Fabián Ezequiel Gallina | 2012-05-17 00:02:53 -0300 |
| commit | 183f9296f1cf873b5aef9253f0def74e5d6d513e (patch) | |
| tree | 1ac680c9ad7358a5b80e053c707647baa0880a10 /lisp/progmodes/python.el | |
| parent | 954aa7bdb84f2b84d3ad3c248712c09a710582fa (diff) | |
| download | emacs-183f9296f1cf873b5aef9253f0def74e5d6d513e.tar.gz emacs-183f9296f1cf873b5aef9253f0def74e5d6d513e.zip | |
Fixed backspace behavior for delete-selection-mode.
Diffstat (limited to 'lisp/progmodes/python.el')
| -rw-r--r-- | lisp/progmodes/python.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index abe92dd43dd..26b13afe2ed 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -658,6 +658,7 @@ point is not in between the indentation." | |||
| 658 | (interactive "*p") | 658 | (interactive "*p") |
| 659 | (when (not (python-indent-dedent-line)) | 659 | (when (not (python-indent-dedent-line)) |
| 660 | (backward-delete-char-untabify arg))) | 660 | (backward-delete-char-untabify arg))) |
| 661 | (put 'python-indent-dedent-line-backspace 'delete-selection 'supersede) | ||
| 661 | 662 | ||
| 662 | (defun python-indent-region (start end) | 663 | (defun python-indent-region (start end) |
| 663 | "Indent a python region automagically. | 664 | "Indent a python region automagically. |