org-table.el (org-table-recalculate): Generate user error if an hline relative reference is use on the LHS of a formula

* org-table.el (org-table-recalculate): Generate user error if
an hline relative reference is use on the LHS of a formula.

TINYCHANGE
This commit is contained in:
Rick Frankel 2013-11-05 12:07:41 +01:00 committed by Bastien Guerry
parent 3231e14e23
commit a2c71a6e35
1 changed files with 2 additions and 0 deletions

View File

@ -3016,6 +3016,8 @@ known that the table will be realigned a little later anyway."
;; Insert constants in all formulas
(setq eqlist
(mapcar (lambda (x)
(if (string-match "^@-?I+" (car x))
(user-error "Can't assign to hline relative reference"))
(when (string-match "\\`$[<>]" (car x))
(setq lhs1 (car x))
(setq x (cons (substring