Skip to content

Commit 4483e40

Browse files
author
Musa Al-hassy
committed
Delete: Opening init.org on startup
1 parent be45dfb commit 4483e40

File tree

2 files changed

+3
-19
lines changed

2 files changed

+3
-19
lines changed

init.el

+1-17
Original file line numberDiff line numberDiff line change
@@ -1188,22 +1188,6 @@ if REMOTE is https://github.com/X/Y then LOCAL becomes ∼/Y."
11881188
;; Keep self motivated!
11891189
(setq frame-title-format '("" "%b - Living The Dream (•̀ᴗ•́)و"))
11901190

1191-
;; If work machine, then show notes; otherwise show my todos & init side-by-side.
1192-
(unless noninteractive
1193-
;; Only run the following when we're in GUI mode;
1194-
;; i.e., don't run it in Github Actions when testing.
1195-
(if (not my/personal-machine?)
1196-
(find-file "~/Documents/notes.org")
1197-
(find-file "~/Dropbox/todo.org"))
1198-
;; After startup, if Emacs is idle for 10 seconds, then open my work file;
1199-
;; which is a GPG file and so requires passphrase before other things can load.
1200-
;; (run-with-idle-timer 10 nil (lambda () (find-file "~/Desktop/work.org.gpg")))
1201-
(split-window-right) ;; C-x 3
1202-
(other-window 1) ;; C-x 0
1203-
(let ((enable-local-variables :all) ;; Load *all* locals.
1204-
(org-confirm-babel-evaluate nil)) ;; Eval *all* blocks.
1205-
(ignore-errors (find-file "~/.emacs.d/init.org"))))
1206-
12071191
;; The modeline looks really nice with doom-themes, e.g., doom-solarised-light.
12081192
(use-package doom-modeline
12091193
:defer nil
@@ -3327,7 +3311,7 @@ associated major mode; that's what we aim to do here."
33273311
;; empv:1 ends here
33283312

33293313
;; [[file:init.org::*DONE?][DONE?:1]]
3330-
(find-file "~/.emacs.d/init.org")
3314+
;; (find-file "~/.emacs.d/init.org")
33313315
(add-to-list 'default-frame-alist '(fullscreen . maximized))
33323316
(message-box "Done")
33333317
;; DONE?:1 ends here

init.org

+2-2
Original file line numberDiff line numberDiff line change
@@ -4572,7 +4572,7 @@ as well as a nice ‘motto’:
45724572

45734573
I almost always have Emacs open; I don't need a dashboard, but would like to see
45744574
my to-do list and my init file, side-by-side.
4575-
#+BEGIN_SRC emacs-lisp
4575+
#+BEGIN_SRC emacs-lisp :tangle no
45764576
;; If work machine, then show notes; otherwise show my todos & init side-by-side.
45774577
(unless noninteractive
45784578
;; Only run the following when we're in GUI mode;
@@ -16043,7 +16043,7 @@ would be if I did not have a literate programming environment; i.e., Org-mode.
1604316043
* DONE?
1604416044

1604516045
#+begin_src emacs-lisp :tangle "init.el"
16046-
(find-file "~/.emacs.d/init.org")
16046+
;; (find-file "~/.emacs.d/init.org")
1604716047
(add-to-list 'default-frame-alist '(fullscreen . maximized))
1604816048
(message-box "Done")
1604916049
#+end_src

0 commit comments

Comments
 (0)