diff options
author | Mikhail Kirillov <w96k@runbox.com> | 2024-07-15 21:00:44 +0400 |
---|---|---|
committer | Mikhail Kirillov <w96k@runbox.com> | 2024-07-15 21:00:44 +0400 |
commit | 3c72e4904a2a8a59881547b9994e4d5e536e103b (patch) | |
tree | ba7717a90c3e890d16a45e725636d441185a215d | |
parent | 972a7370aaef179824ed77757ff82ef275851166 (diff) |
format
-rw-r--r-- | content/articles.org | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/content/articles.org b/content/articles.org index f46fc9d..335ae19 100644 --- a/content/articles.org +++ b/content/articles.org @@ -10,9 +10,9 @@ (insert-file-contents filePath) (split-string (buffer-string) "\n" t))) -;; Sort by modified date -(setq list-of-posts (sort (directory-files-and-attributes "./en/posts" nil ".org$") - #'(lambda (x y) (time-less-p (nth 6 y) (nth 6 x))))) + ;; Sort by modified date + (setq list-of-posts (sort (directory-files-and-attributes "./en/posts" nil ".org$") + #'(lambda (x y) (time-less-p (nth 6 y) (nth 6 x))))) (defun make-links (str) (setq file-name (car str)) @@ -36,9 +36,9 @@ (insert-file-contents filePath) (split-string (buffer-string) "\n" t))) -;; Sort by modified date -(setq list-of-posts (sort (directory-files-and-attributes "./posts" nil ".org$") - #'(lambda (x y) (time-less-p (nth 6 y) (nth 6 x))))) + ;; Sort by modified date + (setq list-of-posts (sort (directory-files-and-attributes "./posts" nil ".org$") + #'(lambda (x y) (time-less-p (nth 6 y) (nth 6 x))))) (defun make-links (str) (setq file-name (car str)) |