From ea8a964e6de30d75e4408fec18c3c83bc0415ee6 Mon Sep 17 00:00:00 2001 From: SqrtMinusOne Date: Tue, 30 Apr 2024 00:51:36 +0300 Subject: [PATCH] emacs: add org-archive --- .emacs.d/init.el | 83 +++++++++++++++++++++++++++++++++--- Emacs.org | 107 ++++++++++++++++++++++++++++++++++++++++++++--- 2 files changed, 179 insertions(+), 11 deletions(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 8294941..585e0ea 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -2734,10 +2734,9 @@ Returns ( . ) or nil." :keymaps '(python-mode-map python-ts-mode-map) "rr" (lambda () (interactive) - (save-excursion - (unless (and (fboundp #'org-src-edit-buffer-p) (org-src-edit-buffer-p)) - (py-isort-buffer)) - (python-black-buffer)))) + (unless (and (fboundp #'org-src-edit-buffer-p) (org-src-edit-buffer-p)) + (py-isort-buffer)) + (python-black-buffer))) (use-package numpydoc :straight t @@ -4296,6 +4295,66 @@ KEYS is a list of cons cells like (