From 86184e2cb6f05e65f05bc61bb87969c8f4d56b47 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Wed, 23 Dec 2020 00:01:56 -0500 Subject: [PATCH] org-plot: Adjust pcase patterns for Emacs 24 compatibility * lisp/org-plot.el (org-plot/gnuplot): Make recently introduced pcase call compatible with Emacs 24. --- lisp/org-plot.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lisp/org-plot.el b/lisp/org-plot.el index 4aa82762f..1d94e2d2d 100644 --- a/lisp/org-plot.el +++ b/lisp/org-plot.el @@ -634,9 +634,9 @@ line directly before or after the table." (let* ((data-file (make-temp-file "org-plot")) (table (let ((tbl (org-table-to-lisp))) (when (pcase (plist-get params :transpose) - ('y t) - ('yes t) - ('t t)) + (`y t) + (`yes t) + (`t t)) (if (not (memq 'hline tbl)) (setq tbl (apply #'cl-mapcar #'list tbl)) ;; When present, remove hlines as they can't (currentily) be easily transposed.