Преглед изворни кода

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.
Kyle Meyer пре 4 година
родитељ
комит
86184e2cb6
1 измењених фајлова са 3 додато и 3 уклоњено
  1. 3 3
      lisp/org-plot.el

+ 3 - 3
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.