Parcourir la source

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.
Bastien Guerry il y a 13 ans
Parent
commit
24c9083bd5
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      lisp/org-table.el

+ 1 - 1
lisp/org-table.el

@@ -3236,7 +3236,7 @@ Parameters get priority."
 Works for single references, but also for entire formulas and even the
 Works for single references, but also for entire formulas and even the
 full TBLFM line."
 full TBLFM line."
   (let ((start 0))
   (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
       (cond
        ((match-end 3)
        ((match-end 3)
 	;; format match, just advance
 	;; format match, just advance