]> git.eshelyaron.com Git - emacs.git/commitdiff
(f90-electric-insert): Add optional prefix arg, and pass to
authorGlenn Morris <rgm@gnu.org>
Mon, 11 Apr 2005 15:23:20 +0000 (15:23 +0000)
committerGlenn Morris <rgm@gnu.org>
Mon, 11 Apr 2005 15:23:20 +0000 (15:23 +0000)
self-insert-command.

lisp/progmodes/f90.el

index 4c8b847b7cd7f0ae59a87f61301376b4c63bff27..14363e4dccf4e330bab2116f72133aecd3be47ae 100644 (file)
@@ -1055,10 +1055,10 @@ block[ \t]*data\\)\\>")
       (f90-change-keywords f90-auto-keyword-case
                            (line-beginning-position) (line-end-position))))
 \f
-(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)))