capitalize -> upcase.
This commit is contained in:
parent
e4d47de1f8
commit
3a47b525fb
@ -21,7 +21,8 @@
|
|||||||
(message "Nothing to be done"))))
|
(message "Nothing to be done"))))
|
||||||
|
|
||||||
(defun ghc-insert-module-template ()
|
(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")))
|
(insert "module " mod " where\n")))
|
||||||
|
|
||||||
(defun ghc-sort-lines (beg end)
|
(defun ghc-sort-lines (beg end)
|
||||||
|
Loading…
Reference in New Issue
Block a user