branch: elpa/gnuplot
commit f99effa21f85a4c0963fec6a38e9112a8157d27e
Author: Andrea Greselin <greselin.and...@gmail.com>
Commit: GitHub <nore...@github.com>

    Tokenize names with non-latin characters (#81)
---
 gnuplot-context.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnuplot-context.el b/gnuplot-context.el
index 859368faa5..dfa20195d3 100644
--- a/gnuplot-context.el
+++ b/gnuplot-context.el
@@ -296,7 +296,7 @@ name; otherwise continues tokenizing up to the token at 
point.  FIXME."
                (token
                 (cond
                  ((gnuplot-tokenize-by-regexps
-                   ("[A-Za-z_][A-Za-z0-9_]*" name)
+                   ("[[:alpha:]_][[:alpha:]0-9_]*" name)
                    
("[0-9]+\\(\\.[0-9]*\\)?\\([eE][+-]?[0-9]+\\)?\\|\\.[0-9]+\\([eE][+-]?[0-9]+\\)?"
 number)
                    (gnuplot-operator-regexp operator)
                    (";" separator)))

Reply via email to