dotfiles/.emacs.d/snippets/erlang-mode/mod

7 lines
196 B
Plaintext

#name : -module().
#contributor : hitesh <hitesh.jasani@gmail.com>
# --
-module(${1:`(file-name-nondirectory
(file-name-sans-extension (or (buffer-file-name) (buffer-name))))`}).
$0