help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Add "Local Variables" automatically


From: Fred
Subject: Add "Local Variables" automatically
Date: 24 Jan 2007 07:42:03 -0800
User-agent: G2/1.0

Hi,
Is there a way of adding automatically (with a keybinding) this text
// Local Variables:
// mode:c++
// tab-width:3
// c-basic-offset:3
// indent-tabs-mode:nil
// End:
at the end of a buffer if not already present and then pass to
c++-mode. I'm sure it is possible but I don't know elisp? Can someone
help me?
Thanks a lot,
Fred



reply via email to

[Prev in Thread] Current Thread [Next in Thread]