From 1069d26d4a1f178e6dc987fca1725ab37fdbe1cb Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Sat, 12 Dec 2009 23:01:15 +0100 Subject: change pascal template to autogenerate unit name from filename --- emacs.d/templates/TEMPLATE.pas.tpl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/emacs.d/templates/TEMPLATE.pas.tpl b/emacs.d/templates/TEMPLATE.pas.tpl index 72f8752..825d303 100644 --- a/emacs.d/templates/TEMPLATE.pas.tpl +++ b/emacs.d/templates/TEMPLATE.pas.tpl @@ -23,7 +23,7 @@ * $Id$ *} -unit (>>>POINT<<<); +unit (>>>file-sans<<<); {$IFDEF FPC} {$MODE Delphi} @@ -33,6 +33,8 @@ unit (>>>POINT<<<); interface +(>>>POINT<<<) + implementation end. -- cgit v1.2.3