From 4483e40ed553c06b5fc8aca8cc9f8c41b8a38ddf Mon Sep 17 00:00:00 2001 From: Musa Al-hassy Date: Tue, 16 Apr 2024 18:45:08 -0400 Subject: [PATCH] Delete: Opening init.org on startup --- init.el | 18 +----------------- init.org | 4 ++-- 2 files changed, 3 insertions(+), 19 deletions(-) diff --git a/init.el b/init.el index fce9d38..414ab96 100644 --- a/init.el +++ b/init.el @@ -1188,22 +1188,6 @@ if REMOTE is https://github.com/X/Y then LOCAL becomes ∼/Y." ;; Keep self motivated! (setq frame-title-format '("" "%b - Living The Dream (•̀ᴗ•́)و")) -;; If work machine, then show notes; otherwise show my todos & init side-by-side. -(unless noninteractive - ;; Only run the following when we're in GUI mode; - ;; i.e., don't run it in Github Actions when testing. - (if (not my/personal-machine?) - (find-file "~/Documents/notes.org") - (find-file "~/Dropbox/todo.org")) - ;; After startup, if Emacs is idle for 10 seconds, then open my work file; - ;; which is a GPG file and so requires passphrase before other things can load. - ;; (run-with-idle-timer 10 nil (lambda () (find-file "~/Desktop/work.org.gpg"))) - (split-window-right) ;; C-x 3 - (other-window 1) ;; C-x 0 - (let ((enable-local-variables :all) ;; Load *all* locals. - (org-confirm-babel-evaluate nil)) ;; Eval *all* blocks. - (ignore-errors (find-file "~/.emacs.d/init.org")))) - ;; The modeline looks really nice with doom-themes, e.g., doom-solarised-light. (use-package doom-modeline :defer nil @@ -3327,7 +3311,7 @@ associated major mode; that's what we aim to do here." ;; empv:1 ends here ;; [[file:init.org::*DONE?][DONE?:1]] -(find-file "~/.emacs.d/init.org") +;; (find-file "~/.emacs.d/init.org") (add-to-list 'default-frame-alist '(fullscreen . maximized)) (message-box "Done") ;; DONE?:1 ends here diff --git a/init.org b/init.org index 8a18534..48077ae 100644 --- a/init.org +++ b/init.org @@ -4572,7 +4572,7 @@ as well as a nice ‘motto’: I almost always have Emacs open; I don't need a dashboard, but would like to see my to-do list and my init file, side-by-side. -#+BEGIN_SRC emacs-lisp +#+BEGIN_SRC emacs-lisp :tangle no ;; If work machine, then show notes; otherwise show my todos & init side-by-side. (unless noninteractive ;; 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. * DONE? #+begin_src emacs-lisp :tangle "init.el" -(find-file "~/.emacs.d/init.org") +;; (find-file "~/.emacs.d/init.org") (add-to-list 'default-frame-alist '(fullscreen . maximized)) (message-box "Done") #+end_src