 (use-package package-utils :ensure t)
 (use-package paradox :ensure t)
 
+;; Get a setq which is checked against defcustom types
+(use-package validate :ensure t)
+
 ;; Functions/packages used in multiple files
 ;; ============================================================
 

;; (add-hook 'c-mode-common-hook '(lambda () (c-toggle-auto-newline 1)))

;; Open urls
(set 'browse-url-browser-function 'browse-url-generic)
(set 'browse-url-generic-program "sensible-browser")

;; Wrap lines at nearest word
(diminish 'visual-line-mode)

;; (server-start) ;; Start emacs as a server
(line-number-mode 1) ;; Line numbers in mode line
(column-number-mode 1) ;; Column numbers in mode line
(validate-setq inhibit-startup-screen t) ;; No startup screen
(scroll-bar-mode -1);; No scroll bar
(validate-setq truncate-partial-width-windows nil) ;; Make line wrapping work for
;; multiple frames
(tool-bar-mode -1) ;; Disable toolbar
(menu-bar-mode -1) ;; Disable menu bar
