Use dolist instead of multiple forms
This commit is contained in:
parent
36dac8db83
commit
bf86a17a3c
1 changed files with 3 additions and 4 deletions
|
|
@ -4,10 +4,9 @@
|
|||
|
||||
(use-package fish-mode :ensure t :defer t)
|
||||
|
||||
(add-to-list 'auto-mode-alist '("\\.zsh\\'" . sh-mode))
|
||||
(add-to-list 'auto-mode-alist '("\\zshrc\\'" . sh-mode))
|
||||
(add-to-list 'auto-mode-alist '("\\.zshrc\\'" . sh-mode))
|
||||
(add-to-list 'auto-mode-alist '("\\.envrc\\'" . sh-mode))
|
||||
(dolist
|
||||
(ending '("\\.zsh\\'" "\\.zshrc\\'" "\\.envrc\\'" "\\.zshrc\\'"))
|
||||
(add-to-list 'auto-mode-alist (cons ending 'sh-mode)))
|
||||
|
||||
(provide 'icejam-lang-sh)
|
||||
;;; icejam-lang-sh.el ends here
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue