]> git.eshelyaron.com Git - emacs.git/commitdiff
Fixed backspace behavior for delete-selection-mode.
authorFabián Ezequiel Gallina <fgallina@cuca>
Thu, 17 May 2012 03:02:53 +0000 (00:02 -0300)
committerFabián Ezequiel Gallina <fgallina@gnu.org>
Thu, 17 May 2012 03:02:53 +0000 (00:02 -0300)
lisp/progmodes/python.el

index abe92dd43dd2dbfc340564c5e2d2d58fdbc09bea..26b13afe2ede11aa0f960a0cd75b34e0f79fdc55 100644 (file)
@@ -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.