From b2e5e97f84dd7dbcb8bd1f1005a7286ff8decf2f Mon Sep 17 00:00:00 2001 From: rvolovoy Date: Thu, 5 Nov 2026 14:20:15 +0100 Subject: [PATCH] add non-gnu for old emacs versions --- emacs/.emacs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/emacs/.emacs b/emacs/.emacs index b90b574..d793e37 100644 --- a/emacs/.emacs +++ b/emacs/.emacs @@ -21,7 +21,10 @@ (setq display-line-numbers 'relative) ;; Initialize the built-in package manager. +;; Add nongnu just in case (require 'package) +(add-to-list 'package-archives + '("nongnu" . "https://elpa.nongnu.org/nongnu/") t) (package-initialize) ;; Download Gruber Darker if it is not installed yet. @@ -35,3 +38,15 @@ ;; Display a greeting after startup. (add-hook 'emacs-startup-hook (lambda () (message "Hello world"))) +(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. + '(package-selected-packages '(gruber-darker-theme tuareg cmake-mode))) +(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. + )