From 95267451f8fee542d23413bdd92e15cb61e03b9e Mon Sep 17 00:00:00 2001 From: SqrtMinusOne Date: Thu, 25 Jan 2024 20:38:34 +0300 Subject: [PATCH] emacs: FEN chess notation & update mastodon-alt --- .emacs.d/init.el | 38 +++++++++++++++++++++------ Emacs.org | 68 ++++++++++++++++++++++++++++++++++++++---------- 2 files changed, 84 insertions(+), 22 deletions(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 73bd9f1..d350570 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -1544,7 +1544,12 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer." (setq treesit-language-source-alist (mapcar (lambda (item) - `(,@item nil nil ,(executable-find "gcc") ,(executable-find "c++"))) + (let ((lang (nth 0 item)) + (url (nth 1 item)) + (rev (nth 2 item)) + (source-dir (nth 3 item))) + `(,lang ,url ,rev ,source-dir + ,(executable-find "gcc") ,(executable-find "c++")))) '((bash "https://github.com/tree-sitter/tree-sitter-bash") (cmake "https://github.com/uyha/tree-sitter-cmake") (css "https://github.com/tree-sitter/tree-sitter-css") @@ -5413,7 +5418,9 @@ KEYS is a list of cons cells like (