[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
how to automate a code
From: |
Renato Pontefice |
Subject: |
how to automate a code |
Date: |
Mon, 15 Sep 2014 03:50:35 -0700 (PDT) |
User-agent: |
G2/1.0 |
Hi,
it's still me... with same question:
How can I automate this elisp code, that works, if I paste on emacs
___________________________________________________________________
(while (and (not (eobp))
(search-forward "[-" nil 'move))
(skip-chars-forward "A-Z")
(unless (looking-at "-]")
(message "Problem found, please fix and hit C-M-c to continue")
(recursive-edit)))
________________________________________________________________
I'm sorry, but I lost my self on the previous thread :-( (my english is not so
good :-( )
All I need, is to run this code when I press a button (or better a key,
keybind...)
Can someone tell me how to do that?
TIA
Renato
- how to automate a code,
Renato Pontefice <=