From: Fabián Ezequiel Gallina Date: Thu, 17 May 2012 03:02:53 +0000 (-0300) Subject: Fixed backspace behavior for delete-selection-mode. X-Git-Tag: emacs-24.2.90~1199^2~628 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=183f9296f1cf873b5aef9253f0def74e5d6d513e;p=emacs.git Fixed backspace behavior for delete-selection-mode. --- 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." (interactive "*p") (when (not (python-indent-dedent-line)) (backward-delete-char-untabify arg))) +(put 'python-indent-dedent-line-backspace 'delete-selection 'supersede) (defun python-indent-region (start end) "Indent a python region automagically.