Passing this along from Stephen Turnbull on the XEmacs list...

Skip

--- Begin Message ---
s...@pobox.com writes:

 >     string-to-syntax is a built-in function in `C source code'.
 >     (string-to-syntax STRING)
 > 
 >     Convert a syntax specification STRING into syntax cell form.

I have no idea what a "syntax cell" is, but based on your examples it
would seem

(defun string-to-syntax (s)
  (list (syntax-string-to-code s)))

will do.

--- End Message ---
_______________________________________________
Python-mode mailing list
Python-mode@python.org
http://mail.python.org/mailman/listinfo/python-mode

Reply via email to