X-Git-Url: https://iankelling.org/git/?p=dot-emacs;a=blobdiff_plain;f=init.el;h=43384feba908a79acb6320103794c12cfd88e708;hp=f83922d62a7c0bdda957adb41255542b8ffba24c;hb=87395fc29e64efbbef5c52bb0ac905cea46e6698;hpb=7c3660936ebc15b70a005c78df9cd32516e0c196 diff --git a/init.el b/init.el index f83922d..43384fe 100644 --- a/init.el +++ b/init.el @@ -70,26 +70,13 @@ ;; todo, set this var in my-init.org and use it instead ;; of .emacs.d (setq init-dir ,(file-name-directory load-file-name)) + ;; previously, i was doing byte-recompile-directory, but + ;; now i just have one init file (unless (equal (user-uid) 0) ; don't make root owned files - (byte-recompile-directory init-dir)) - ;; (byte-recompile-directory init-dir 0) ; with the 0, - ;; compile .el files that have no .elc file already - - ;; this must be loaded first to avoid an error: void-function(cl-member) - (require 'cl) - ;; added org-habit, org-drill, org-mobile from the defaults - ;; disabled because I'm not using org-drill, and I see - ;; this error on startup of emacs server, - ;; which might be nothing but meh, - ;; File mode specification error: (void-function org-drill-add-cloze-fontification) - - (require 'org) - ;; (setq org-modules (quote (org-bbdb org-bibtex org-docview org-gnus - ;; org-info org-jsinfo org-irc org-mew - ;; org-mhe org-rmail org-vm org-wl org-w3m - ;; org-habit org-drill org-mobile))) + (byte-recompile-file (concat init-dir "myinit.el"))) + (load-file (expand-file-name "myinit.el" init-dir)) - (org-babel-load-file (expand-file-name "my-init.org" init-dir)) - (org-babel-load-file (expand-file-name "dev.org" init-dir)))) + + )) ;;init.el ends here