Mercurial > emacs
diff lisp/progmodes/f90.el @ 107195:3c104aea26eb
Close bug#5593.
* progmodes/f90.el (f90-electric-insert): Give it a delete-selection property.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Thu, 18 Feb 2010 18:36:10 -0800 |
parents | 906017fe8f4b |
children | fc613fd476ff 376148b31b5e |
line wrap: on
line diff
--- a/lisp/progmodes/f90.el Thu Feb 18 18:32:36 2010 -0800 +++ b/lisp/progmodes/f90.el Thu Feb 18 18:36:10 2010 -0800 @@ -1356,6 +1356,8 @@ (if auto-fill-function (f90-do-auto-fill) ; also updates line (f90-update-line))) +;; Behave like self-insert-command for delete-selection-mode (bug#5593). +(put 'f90-electric-insert 'delete-selection t) (defun f90-get-correct-indent () "Get correct indent for a line starting with line number.