(load-file path)
(message "Warning: file %s is absent" path)))
+;; ditz
+(require-if-present 'ditz)
+
+;; flyspell
+(require-if-present 'flyspell)
+
+;; jaspace
+(require-if-present 'jaspace)
+
;; glsl
(autoload 'glsl-mode "glsl-mode" nil t)
(add-to-list 'auto-mode-alist '("\\.glsl\\'" . glsl-mode))
(add-to-list 'auto-mode-alist '("\\.frag\\'" . glsl-mode))
(add-to-list 'auto-mode-alist '("\\.geom\\'" . glsl-mode))
+;; rust
+(autoload 'rust-mode "rust-mode" nil t)
+(add-to-list 'auto-mode-alist '("\\.rs\\'" . rust-mode))
+
;; session
(require-if-present 'session)
-;; flyspell
-(require-if-present 'flyspell)
-
-;; ditz
-(require-if-present 'ditz)
-
;; mediawiki
(require-if-present 'mediawiki)
;; midnight
(require-if-present 'midnight)
-;; jaspace
-(require-if-present 'jaspace)
-
;; color-theme
(require-if-present 'color-theme)
(if (featurep 'color-theme)