summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2012-08-10 11:00:15 +0200
committerBastien Guerry <bzg@altern.org>2012-08-10 11:00:15 +0200
commit24c9083bd50e107e48b7fe250bfcf9ec1312a86d (patch)
tree605bf74e11a2e9863aaaa2510930078c3702537d
parent7dc4d7cebc1c10a6433a9645edf88078853da60b (diff)
downloadorg-mode-24c9083bd50e107e48b7fe250bfcf9ec1312a86d.tar.gz
org-table.el: Fix bug when converting remote table references.
* org-table.el (org-table-convert-refs-to-rc): Fix bug when converting remote table references. Thanks to Jose E. Marchesi who provided a preliminary patch for this.
-rw-r--r--lisp/org-table.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-table.el b/lisp/org-table.el
index d8aba8b..b6bc54a 100644
--- a/lisp/org-table.el
+++ b/lisp/org-table.el
@@ -3236,7 +3236,7 @@ Parameters get priority."
Works for single references, but also for entire formulas and even the
full TBLFM line."
(let ((start 0))
- (while (string-match "\\<\\([a-zA-Z]+\\)\\([0-9]+\\>\\|&\\)\\|\\(;[^\r\n:]+\\|\\<remote([^)]*)\\)" s start)
+ (while (string-match "\\<\\([a-zA-Z]+\\)\\([0-9]+\\>\\|&\\)\\|\\(;[^\r\n:]+\\|\\<remote([^,)]*)\\)" s start)
(cond
((match-end 3)
;; format match, just advance