add non-gnu for old emacs versions
This commit is contained in:
@@ -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.
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user