From: Richard M. Stallman Date: Sat, 6 Jun 1998 22:43:31 +0000 (+0000) Subject: (fortran-electric-line-number): Add delete-selection property. X-Git-Tag: emacs-20.3~701 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=556dd62982e9bb54492d7dbd4deb8e5c7091f468;p=emacs.git (fortran-electric-line-number): Add delete-selection property. --- diff --git a/lisp/progmodes/fortran.el b/lisp/progmodes/fortran.el index c35eadda156..ea537f011d8 100644 --- a/lisp/progmodes/fortran.el +++ b/lisp/progmodes/fortran.el @@ -853,6 +853,7 @@ except that ] is never special and \ quotes ^, - or \." (skip-chars-backward chars) (delete-region (point) (progn (skip-chars-forward chars) (point)))) +(put 'fortran-electric-line-number 'delete-selection t) (defun fortran-electric-line-number (arg) "Self insert, but if part of a Fortran line number indent it automatically. Auto-indent does not happen if a numeric ARG is used."