[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Execute as a command a yanked text
From: |
Stefan Horomnea |
Subject: |
Execute as a command a yanked text |
Date: |
Wed, 03 May 2006 12:12:54 +0300 |
User-agent: |
Thunderbird 1.5.0.2 (X11/20060420) |
Hello,
Do you have any idea how to execute a text that was previously killed ?
I mean, I have a function named insert-html-table.
This code works:
(command-execute 'insert-html-table)
This code doesn't work:
(command-execute (car kill-ring-yank-pointer))
*and I have previously killed "insert-html-table"
and, this also works (insert (car kill-ring-yank-pointer)) - and inserts
the text: "insert-html-table".
Thanks a lot for any help.
- Execute as a command a yanked text,
Stefan Horomnea <=