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

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

[elpa] externals/org 203420504e 11/31: org-persist-load:elisp: fix loadi


From: ELPA Syncer
Subject: [elpa] externals/org 203420504e 11/31: org-persist-load:elisp: fix loading
Date: Sat, 29 Jan 2022 04:58:03 -0500 (EST)

branch: externals/org
commit 203420504edcaa42703d8f1e783f656585db2a0b
Author: Ihor Radchenko <yantar92@gmail.com>
Commit: Ihor Radchenko <yantar92@gmail.com>

    org-persist-load:elisp: fix loading
---
 lisp/org-persist.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lisp/org-persist.el b/lisp/org-persist.el
index 0e8fd50509..aecfa57a73 100644
--- a/lisp/org-persist.el
+++ b/lisp/org-persist.el
@@ -474,11 +474,11 @@ COLLECTION is the plist holding data collectin."
               load-func-symbol))
      (funcall load-func-symbol container ,reference-data ,collection)))
 
-(defun org-persist-load:elisp (container lisp-value associated)
+(defun org-persist-load:elisp (container lisp-value collection)
   "Load elisp variable container and assign the data to variable symbol."
   (let ((lisp-symbol (cadr container))
-        (buffer (when (plist-get associated :file)
-                  (get-file-buffer (plist-get associated :file)))))
+        (buffer (when (plist-get (plist-get collection :associated) :file)
+                  (get-file-buffer (plist-get (plist-get collection 
:associated) :file)))))
     (if buffer
         (with-current-buffer buffer
           (make-variable-buffer-local lisp-symbol)



reply via email to

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