From 31b01e69e1f5f56d86c471b50aa707c563a37089 Mon Sep 17 00:00:00 2001 From: jao Date: Sun, 14 Feb 2021 01:58:21 +0000 Subject: readme tweaks --- lib/readme.org | 11 +---------- readme.org | 16 ++++++++-------- 2 files changed, 9 insertions(+), 18 deletions(-) diff --git a/lib/readme.org b/lib/readme.org index 9936670..7079b89 100644 --- a/lib/readme.org +++ b/lib/readme.org @@ -1,12 +1,5 @@ #+title: Elisp libraries -* Literate Libraries - - - [[file:net/signel.org][signel]] a simplistic Signal client, using the signal-cli java lib. - - [[file:media/espotify.org][espotify]] searching and playing Spotify using consult. - -* Sections - - [[./eos][eos]] generic utilities for the emacs operating system - [[./themes][themes]] color themes based on Emacs builtin custom themes - [[org][org]] utilities for org-mode @@ -14,6 +7,4 @@ - [[./media][media]] utilities for music players and the like - [[./prog][prog]] utilities for compilation and programming modes - [[./net][net]] utilities for networking (w3m, weather &c.) - - [[./bmk][bmk]] a web bookmark manager - - See also my [[../][emacs custom files]]. + - [[./bmk][bmk]] an old web bookmark manager diff --git a/readme.org b/readme.org index 6a4777e..6f4a035 100644 --- a/readme.org +++ b/readme.org @@ -20,12 +20,12 @@ #+begin_src emacs-lisp (setq package-user-dir - (expand-file-name (format "~/.emacs.d/elpa.%s" emacs-major-version)) + (expand-file-name (format "~/.emacs.d/elpa.%s" emacs-major-version)) package-check-signature 'allow-unsigned) (require 'package) (dolist (a '(("melpa" . "https://melpa.org/packages/") - ("org" . "https://orgmode.org/elpa/"))) + ("org" . "https://orgmode.org/elpa/"))) (add-to-list 'package-archives a t)) (package-initialize) @@ -36,11 +36,11 @@ #+BEGIN_SRC emacs-lisp (defun jao-maybe-tangle (basename) (let ((el (expand-file-name (format "%s.el" basename) jao-emacs-dir)) - (org (expand-file-name (format "%s.org" basename) jao-emacs-dir))) - (when (file-newer-than-file-p org el) - (require 'ob-tangle) - (org-babel-tangle-file org el)) - el)) + (org (expand-file-name (format "%s.org" basename) jao-emacs-dir))) + (when (file-newer-than-file-p org el) + (require 'ob-tangle) + (org-babel-tangle-file org el)) + el)) #+end_src Finally, we load either init.org or its tangled version from @@ -48,7 +48,7 @@ #+begin_src emacs-lisp (if (require 'literate-elisp nil t) - (literate-elisp-load-file (expand-file-name "init.org" jao-emacs-dir)) + (literate-elisp-load-file (expand-file-name "init.org" jao-emacs-dir)) (load-file (jao-maybe-tangle "init"))) #+end_src -- cgit v1.2.3