浏览代码

org-table: Allow accentuated characters in remote table names

* lisp/org-table.el (org-table-eval-formula): Allow a larger set of
  characters in remote name.

Reported-by: flav <flav.justflav@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/75690>
Nicolas Goaziou 10 年之前
父节点
当前提交
b5d9f4be4d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lisp/org-table.el

+ 1 - 1
lisp/org-table.el

@@ -2758,7 +2758,7 @@ not overwrite the stored one."
 	(org-table--error-on-old-row-references form)
 	;; Insert remote references
 	(setq form (org-table-remote-reference-indirection form))
-	(while (string-match "\\<remote([ \t]*\\([-_a-zA-Z0-9]+\\)[ \t]*,[ \t]*\\([^\n)]+\\))" form)
+	(while (string-match "\\<remote([ \t]*\\([^,)]+\\)[ \t]*,[ \t]*\\([^\n)]+\\))" form)
 	  (setq form
 		(replace-match
 		 (save-match-data