diff options
author | Barry Warsaw <barry@python.org> | 1996-07-24 18:32:08 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 1996-07-24 18:32:08 (GMT) |
commit | fb3494276ebbddcfa7d36b796248e1e66d2c02c7 (patch) | |
tree | aeca2f1502f056cf4e6ef9103c7229845514e1f8 /Misc/python-mode.el | |
parent | 9e5a9c8c99b90fbcbf0c63e5f3fdb97c0a024460 (diff) | |
download | cpython-fb3494276ebbddcfa7d36b796248e1e66d2c02c7.zip cpython-fb3494276ebbddcfa7d36b796248e1e66d2c02c7.tar.gz cpython-fb3494276ebbddcfa7d36b796248e1e66d2c02c7.tar.bz2 |
#comment update, re: py-mode-syntax-table
Diffstat (limited to 'Misc/python-mode.el')
-rw-r--r-- | Misc/python-mode.el | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Misc/python-mode.el b/Misc/python-mode.el index 82670c1..a86e4c7 100644 --- a/Misc/python-mode.el +++ b/Misc/python-mode.el @@ -323,10 +323,11 @@ Currently-active file is at the head of the list.") ( ?\* . "." ) ( ?\+ . "." ) ( ?\- . "." ) ( ?\/ . "." ) ( ?\< . "." ) ( ?\= . "." ) ( ?\> . "." ) ( ?\| . "." ) - ;; Guido and I disagree about this. Underscore should be - ;; symbol constituent by not word. For historical - ;; reasons, I leave it as is. -baw - ;;( ?\_ . "_" ) ; underscore is legit in symbols, but not words + ;; for historical reasons, underscore is word class + ;; instead of symbol class. it should be symbol class, + ;; but if you're tempted to change it, try binding M-f and + ;; M-b to py-forward-into-nomenclature and + ;; py-backward-into-nomenclature instead. -baw ( ?\_ . "w" ) ; underscore is legit in words ( ?\' . "\"") ; single quote is string quote ( ?\" . "\"" ) ; double quote is string quote too |