# HG changeset patch # User Richard M. Stallman # Date 897173011 0 # Node ID 24999a02843d7a5d5a927c716a448fe05db05d0e # Parent 84967b95587ba3080a0e6a460f9cf3ecfd8927a6 (fortran-electric-line-number): Add delete-selection property. diff -r 84967b95587b -r 24999a02843d lisp/progmodes/fortran.el --- a/lisp/progmodes/fortran.el Sat Jun 06 22:24:37 1998 +0000 +++ b/lisp/progmodes/fortran.el Sat Jun 06 22:43:31 1998 +0000 @@ -853,6 +853,7 @@ (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."