We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e87b1fe commit cf25943Copy full SHA for cf25943
tempel-collection.el
@@ -87,7 +87,7 @@
87
(while (and mode (not (memq mode tempel-collection--loaded)))
88
(push mode tempel-collection--loaded)
89
(let ((file
90
- (or (tempel-collection--mode-file (string-remove-suffix "-mode" (symbol-name mode)))
+ (or (tempel-collection--mode-file (downcase (string-remove-suffix "-mode" (symbol-name mode))))
91
(tempel-collection--mode-file (alist-get mode tempel-collection--aliases)))))
92
(when file
93
(setq tempel-collection--templates
templates/latex.eld
@@ -1,4 +1,4 @@
1
-latex-mode
+latex-mode LaTeX-mode
2
3
;; taken from https://github.com/minad/tempel/blob/5b09f612cfd805dba5e90bf06580583cab045499/README.org#template-file-format
4
(abstract "\\begin{abstract}\n" r> n> "\\end{abstract}")
0 commit comments