summaryrefslogtreecommitdiffstats
path: root/emacs.d/snippets/delphi-mode/func.yasnippet
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.d/snippets/delphi-mode/func.yasnippet')
-rw-r--r--emacs.d/snippets/delphi-mode/func.yasnippet2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs.d/snippets/delphi-mode/func.yasnippet b/emacs.d/snippets/delphi-mode/func.yasnippet
index a42a598..31fe413 100644
--- a/emacs.d/snippets/delphi-mode/func.yasnippet
+++ b/emacs.d/snippets/delphi-mode/func.yasnippet
@@ -4,7 +4,7 @@
# key: func
# condition: (not (delphi-in-class-definition))
# --
-function ${1:$$(yas/choose-value (let (value) (dolist (element (delphi-get-classes) value) (setq value (cons (concat element ".") value)))))}${2:Name$(capitalize text)}($3): $4;
+function ${1:$$(yas/choose-value (let (value) (dolist (element (delphi-get-classes) value) (setq value (cons (concat element ".") value)))))}${2:Name$(upcase-initials text)}($3): $4;
begin
$0
end; \ No newline at end of file