aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcolin <colin@debian-BULLSEYE-live-builder-AMD64>2022-11-15 11:13:43 -0600
committercolin <colin@debian-BULLSEYE-live-builder-AMD64>2022-11-15 11:13:43 -0600
commitafff8c47b5598027a26a5d981476a8ea08819604 (patch)
tree9a793c3a14ee1896e0284f2f42eb6248cbebc7aa
parenta00d326580e49c438a6f478c8391f773dfeea49d (diff)
Tweaks on startup and org
-rw-r--r--init-el.org5
1 files changed, 4 insertions, 1 deletions
diff --git a/init-el.org b/init-el.org
index c74a360..eda6938 100644
--- a/init-el.org
+++ b/init-el.org
@@ -94,6 +94,7 @@ So, to use this file for the very first time you must
'("elpa" . "https://elpa.gnu.org/packages/") t)
(add-to-list 'package-archives
'("melpa" . "https://melpa.org/packages/") t)
+
(package-initialize)
(package-refresh-contents)
@@ -238,7 +239,7 @@ So, to use this file for the very first time you must
#+name: org-mode-main-config
#+begin_src elisp :noweb no-export :results none
-(my-package-install 'org "elpa")
+(package-install 'org)
(require 'org)
(setq org-duration-format 'h:mm)
@@ -250,6 +251,8 @@ So, to use this file for the very first time you must
(setq org-imenu-depth 10)
+(setq org-startup-folded t)
+
(defun my-org-up-heading ()
(interactive)
(org-up-heading-safe))