emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/lentic b4112e983f 009/333: Python/Org configuration add


From: ELPA Syncer
Subject: [elpa] externals/lentic b4112e983f 009/333: Python/Org configuration added.
Date: Tue, 27 Feb 2024 12:59:52 -0500 (EST)

branch: externals/lentic
commit b4112e983f18cc07c6ec032702b886d1839d7205
Author: Phillip Lord <phillip.lord@newcastle.ac.uk>
Commit: Phillip Lord <phillip.lord@newcastle.ac.uk>

    Python/Org configuration added.
---
 linked-buffer.el | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/linked-buffer.el b/linked-buffer.el
index 27fff7109a..e1ce30555c 100644
--- a/linked-buffer.el
+++ b/linked-buffer.el
@@ -68,10 +68,20 @@
 (require 'dash)
 (require 'm-buffer)
 
-
-
 (defvar linked-buffer-transforms
   '(
+    ((python-mode org-mode)
+     :convert linked-buffer-blk-clone-uncomment
+     :location linked-buffer-blk-convert-location
+     :comment "## "
+     :comment-block-start "#+end_src"
+     :comment-block-stop "#+begin_src python :session")
+    ((org-mode python-mode)
+     :convert  linked-buffer-blk-clone-comment
+     :location linked-buffer-blk-convert-location
+     :comment "## "
+     :comment-block-start "#[+]end_src"
+     :comment-block-stop "#[+]begin_src python :session")
     ((clojure-mode latex-mode)
      :convert linked-buffer-blk-clone-uncomment
      :location linked-buffer-blk-convert-location



reply via email to

[Prev in Thread] Current Thread [Next in Thread]