diff --git a/elisp/ghc-command.el b/elisp/ghc-command.el index 904b493..8a354ea 100644 --- a/elisp/ghc-command.el +++ b/elisp/ghc-command.el @@ -21,7 +21,8 @@ (message "Nothing to be done")))) (defun ghc-insert-module-template () - (let ((mod (capitalize (file-name-sans-extension (buffer-name))))) + (let ((mod (file-name-sans-extension (buffer-name)))) + (aset mod 0 (upcase (aref mod 0))) (insert "module " mod " where\n"))) (defun ghc-sort-lines (beg end)