(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)
-;; jaspace
-(require-if-present 'jaspace)
+;; midnight
+(require-if-present 'midnight)
;; color-theme
(require-if-present 'color-theme)
(autoload 'cleite "cleite" "Cleite RSS Aggregator -- Emacs Interface" t)
;; javascript
-(autoload 'js2-mode "js2" nil t)
-(add-to-list 'auto-mode-alist '("\\.js$" . js2-mode))
+(add-to-list 'auto-mode-alist '("\\.js$" . javascript-mode))
(add-to-list 'auto-mode-alist '("\\.json$" . javascript-mode))
;; typescript
'(appt-message-warning-time 20)
'(browse-url-browser-function (quote browse-url-firefox))
'(canlock-password "a14fa4d2601465d55585c291fa8b3943e189e716")
+ '(clean-buffer-list-delay-general 7)
'(cleite:auto-refresh-interval nil)
'(cleite:measure-srpc-call-time t)
'(compilation-scroll-output (quote first-error))
(30 subj)
"|"
(0 body))))
+ '(midnight-mode t)
'(mouse-wheel-progessive-speed nil)
'(mouse-wheel-scroll-amount (quote (1 ((shift) . 5) ((control)))))
'(mpc-browser-tags