Sfoglia il codice sorgente

org-table: Fix missing dollar bug revealed by commit 16c7594

* org-table.el (orgtbl-ascii-plot): Add missing dollar in formula.
Thierry Banel 9 anni fa
parent
commit
cfb82b7c62
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      lisp/org-table.el

+ 1 - 1
lisp/org-table.el

@@ -5302,7 +5302,7 @@ characters width of the plot.  ASK may also be the
     (org-table-store-formulas
     (org-table-store-formulas
      (cons
      (cons
       (cons
       (cons
-       (number-to-string (1+ col))
+       (concat "$" (number-to-string (1+ col)))
        (format "'(%s $%s %s %s %s)"
        (format "'(%s $%s %s %s %s)"
 	       "orgtbl-ascii-draw" col min max length))
 	       "orgtbl-ascii-draw" col min max length))
       (org-table-get-stored-formulas)))
       (org-table-get-stored-formulas)))