From 556dd62982e9bb54492d7dbd4deb8e5c7091f468 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 6 Jun 1998 22:43:31 +0000 Subject: [PATCH] (fortran-electric-line-number): Add delete-selection property. --- lisp/progmodes/fortran.el | 1 + 1 file changed, 1 insertion(+) 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." -- 2.39.2