22 lines
955 B
Diff
22 lines
955 B
Diff
From 75e41ae5bd1c0879b323ed0ddc4bac29badb29ff Mon Sep 17 00:00:00 2001
|
|
From: fanshi1028 <jackychany321@gmail.com>
|
|
Date: Fri, 1 Nov 2024 14:41:26 +0000
|
|
Subject: [PATCH] fix lsp-org breaks with org 9.7 (#4300)
|
|
|
|
---
|
|
lsp-mode.el | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/lsp-mode.el b/lsp-mode.el
|
|
index f5c700dbf3..a149d6d2c7 100644
|
|
--- a/lsp-mode.el
|
|
+++ b/lsp-mode.el
|
|
@@ -9668,7 +9668,7 @@ defaults to `progress-bar."
|
|
(save-excursion
|
|
(funcall goto-buffer)
|
|
(funcall f))))))
|
|
- ((&plist :begin :end :post-blank :language) (cl-second (org-element-context)))
|
|
+ ((begin end post-blank language) (--map (org-element-property it (org-element-context) nil t) '(:begin :end :post-blank :language)))
|
|
((&alist :tangle file-name) (cl-third (org-babel-get-src-block-info 'light)))
|
|
|
|
(file-name (if file-name
|