blob: 26e83951619235aadfdff017cf9e6c9486f8dd2f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
;;; test-init.el --- Test fixture for wttrin integration tests -*- lexical-binding: t; -*-
;; This is a minimal init.el for testing wttrin with debug enabled
;; Enable debug mode BEFORE loading wttrin
(setq wttrin-debug t)
;; Configure wttrin
(setq wttrin-default-locations '("Berkeley, CA" "New Orleans, LA"))
(setq wttrin-unit-system "m") ; Metric
(setq wttrin-mode-line-favorite-location "Berkeley, CA")
(setq wttrin-mode-line-startup-delay 0) ; No delay for tests
(setq wttrin-mode-line-refresh-interval 3600) ; 1 hour
;; Load wttrin (assumes it's in load-path)
(require 'wttrin)
;; Don't auto-enable mode-line in tests (we'll do it explicitly)
(setq wttrin-mode-line-auto-enable nil)
(provide 'test-init)
;;; test-init.el ends here
|