changeset 22377:24999a02843d

(fortran-electric-line-number): Add delete-selection property.
author Richard M. Stallman <rms@gnu.org>
date Sat, 06 Jun 1998 22:43:31 +0000
parents 84967b95587b
children 18a60ded5193
files lisp/progmodes/fortran.el
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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."