Re: How do I load new template in current Emacs session

Eric Ludlam <[email protected]>
Newsgroups gmane.emacs.cedet
Message-ID <[email protected]>
On 11/28/2014 03:22 AM, Tu Do wrote:
> Hi Eric,
>
> I started using Srecode recently and enjoying it. However, there's a 
> little problem: how do I reload Srecode whenever I add new templates?

Hi Tu,

When in a .srt file, "C-c C-c" will recompile the templates of the 
current buffer into the template maps, regardless of if the templates 
are on  the srecode-map-load-path.

Use M-x srecode-map-update-map after changing srecode-map-load-path, or 
for any wide change to the files in your template directories.

You can use srecode-dump-templates to verify your template was updated.

Good Luck
Eric

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.