changeset 61461:7924ec3eef18

(f90-electric-insert): Add optional prefix arg, and pass to self-insert-command.
author Glenn Morris <rgm@gnu.org>
date Mon, 11 Apr 2005 15:23:20 +0000
parents 3cdcc88227a7
children 7296705f27fd
files lisp/progmodes/f90.el
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/f90.el	Mon Apr 11 15:22:38 2005 +0000
+++ b/lisp/progmodes/f90.el	Mon Apr 11 15:23:20 2005 +0000
@@ -1055,10 +1055,10 @@
       (f90-change-keywords f90-auto-keyword-case
                            (line-beginning-position) (line-end-position))))
 
-(defun f90-electric-insert ()
+(defun f90-electric-insert (&optional arg)
   "Change keyword case and auto-fill line as operators are inserted."
-  (interactive)
-  (self-insert-command 1)
+  (interactive "*p")
+  (self-insert-command arg)
   (if auto-fill-function (f90-do-auto-fill) ; also updates line
     (f90-update-line)))