Re: Invoking electirc command programmatically

2005-05-10 Thread Tim X
PT <[EMAIL PROTECTED]> writes: > I have this electric function which inserts the character it is bound > to and does something else too. > > (defun my-electric-character (&optional arg) >"Insert the typed character and pop up a completion buffer" >(interactive "P") >(self-insert-comma

Re: Invoking electirc command programmatically

2005-05-10 Thread rgb
PT wrote: > I have this electric function which inserts the character it is bound to > and does something else too. > > (defun my-electric-character (&optional arg) >"Insert the typed character and pop up a completion buffer" >(interactive "P") >(self-insert-command (prefix-numeric-val

Invoking electirc command programmatically

2005-05-10 Thread PT
I have this electric function which inserts the character it is bound to and does something else too. (defun my-electric-character (&optional arg) "Insert the typed character and pop up a completion buffer" (interactive "P") (self-insert-command (prefix-numeric-value arg)) ...) How can I