Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
David Sveningsson
dotfiles
Commits
90526b12
Commit
90526b12
authored
Aug 17, 2020
by
David Sveningsson
Browse files
emacs: dont call package-initialized unless needed
parent
2adbc5f4
Changes
2
Hide whitespace changes
Inline
Side-by-side
global/emacs
View file @
90526b12
;; MELPA
(require 'package)
;; load configuration from init.org
(org-babel-load-file "~/.dotfiles/global/emacs.d/init.org")
...
...
global/emacs.d/init.org
View file @
90526b12
...
...
@@ -91,7 +91,8 @@ Disable creating file backups.
#+END_SRC
* Bootstrap
#+BEGIN_SRC emacs-lisp
(package-initialize)
(when (< emacs-major-version 27)
(package-initialize))
;; wanted packages
(defvar ext/install-packages
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment