summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Hetzenberger <mhetzenberger@gmail.com>2024-06-22 16:06:41 +0200
committerIhor Radchenko <yantar92@posteo.net>2024-06-23 11:11:12 +0200
commitbd16944e1ba30d84667e269f072c3b233f2fbffa (patch)
treebba2d0c5fedd6aaeb7b1061ef11cc1e3ba1f75d0
parenteafa479069687d87d81c11ddf655c181dd57f8b5 (diff)
org-babel-merge-params: Rename plists to alists
* lisp/ob-core.el (org-babel-merge-params): Rename PLIST(S) variables/args to ALIST(S). TINYCHANGE
-rw-r--r--lisp/ob-core.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/ob-core.el b/lisp/ob-core.el
index db75f1f0a..5b32f503b 100644
--- a/lisp/ob-core.el
+++ b/lisp/ob-core.el
@@ -2959,9 +2959,9 @@ used as a string to be appended to #+begin_example line."
(goto-char body-start)
(insert body))))
-(defun org-babel-merge-params (&rest plists)
- "Combine all parameter association lists in PLISTS.
-Later elements of PLISTS override the values of previous elements.
+(defun org-babel-merge-params (&rest alists)
+ "Combine all parameter association lists in ALISTS.
+Later elements of ALISTS override the values of previous elements.
This takes into account some special considerations for certain
parameters when merging lists."
(let* ((results-exclusive-groups
@@ -2990,8 +2990,8 @@ parameters when merging lists."
;; Some keywords accept multiple values. We need to treat
;; them specially.
vars results exports)
- (dolist (plist plists)
- (dolist (pair plist)
+ (dolist (alist alists)
+ (dolist (pair alist)
(pcase pair
(`(:var . ,value)
(let ((name (cond