|
@@ -1722,13 +1722,14 @@ When NAMED is non-nil, look for a named equation."
|
|
|
(ref (format "@%d$%d" (org-table-current-dline)
|
|
|
(org-table-current-column)))
|
|
|
(refass (assoc ref stored-list))
|
|
|
+ (nameass (assoc name stored-list))
|
|
|
(scol (if named
|
|
|
(if (and name (not (string-match "^LR[0-9]+$" name)))
|
|
|
name
|
|
|
ref)
|
|
|
(int-to-string (org-table-current-column))))
|
|
|
- (dummy (and (or name refass) (not named)
|
|
|
- (not (y-or-n-p "Replace field formula with column formula? " ))
|
|
|
+ (dummy (and (or nameass refass) (not named)
|
|
|
+ (not (y-or-n-p "Replace existing field formula with column formula? " ))
|
|
|
(error "Abort")))
|
|
|
(name (or name ref))
|
|
|
(org-table-may-need-update nil)
|