From c0c15b0059d4aff31ac376f0b19f7742ed436cc7 Mon Sep 17 00:00:00 2001 From: Joel Grunbaum <joelgrun@gmail.com> Date: Sat, 01 Jan 2022 07:30:25 +0000 Subject: [PATCH] Auto revert buffers --- init.el | 35 +++++++++++++---------------------- 1 files changed, 13 insertions(+), 22 deletions(-) diff --git a/init.el b/init.el index 09f7700..c2b78e1 100644 --- a/init.el +++ b/init.el @@ -1,8 +1,12 @@ +;; Set file for custom changes +(setq custom-file "~/.emacs.d/custom.el") +(load custom-file 'noerror) + ;; Repos (require 'package) -(setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/") - ("melpa" . "https://melpa.org/packages/") - ("org" . "https://orgmode.org/elpa/"))) +(setq package-archives '(("gnu" . "https://elpa.gnu.org/packages/") + ("nongnu" . "https://elpa.nongnu.org/nongnu/") + ("melpa" . "https://melpa.org/packages/"))) (package-initialize) ;; use-package @@ -12,6 +16,8 @@ (eval-when-compile (require 'use-package)) +(require 'use-package-ensure) +(setq use-package-always-ensure t) ;; auto-package-update (use-package auto-package-update @@ -22,26 +28,11 @@ (auto-package-update-maybe)) ;; diminish -(use-package diminish - :ensure t) +(use-package diminish) ;; redirect to org config file (when (file-readable-p "~/.emacs.d/config.org") (org-babel-load-file "~/.emacs.d/config.org")) - -(custom-set-variables - ;; custom-set-variables was added by Custom. - ;; If you edit it by hand, you could mess it up, so be careful. - ;; Your init file should contain only one such instance. - ;; If there is more than one, they won't work right. - '(ede-project-directories '("c:/Users/joelg/.emacs.d")) - '(package-selected-packages - '(doom-themes csv-mode magit minesweeper speed-type spray fireplace powershell company-auctex company-bibtex company-irony-c-headers company-reftex gnuplot-mode gnuplot matlab-mode diminish keyfreq zenburn-theme yasnippet x86-lookup workgroups2 which-key volatile-highlights use-package undo-tree srefactor smartparens racket-mode popwin plantuml-mode pdf-tools org-bullets nyan-mode latex-preview-pane helm-projectile ggtags flycheck-pos-tip flycheck-clang-analyzer company-math company-c-headers clean-aindent-mode auto-package-update))) -(custom-set-faces - ;; custom-set-faces was added by Custom. - ;; If you edit it by hand, you could mess it up, so be careful. - ;; Your init file should contain only one such instance. - ;; If there is more than one, they won't work right. - ) -(put 'narrow-to-page 'disabled nil) -(put 'narrow-to-region 'disabled nil) +(put 'upcase-region 'disabled nil) +(put 'downcase-region 'disabled nil) +(put 'list-timers 'disabled nil) -- Gitblit v1.9.3