(py-mode-syntax-table): revert underscore to word class, even though I

don't agree with it.
This commit is contained in:
Barry Warsaw 1996-07-03 23:15:51 +00:00
parent 039707399e
commit 8e9d7d7e83
1 changed files with 5 additions and 1 deletions

View File

@ -314,7 +314,11 @@ Currently-active file is at the head of the list.")
( ?\* . "." ) ( ?\+ . "." ) ( ?\- . "." )
( ?\/ . "." ) ( ?\< . "." ) ( ?\= . "." )
( ?\> . "." ) ( ?\| . "." )
( ?\_ . "_" ) ; underscore is legit in symbols, but not words
;; 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
( ?\_ . "w" ) ; underscore is legit in words
( ?\' . "\"") ; single quote is string quote
( ?\" . "\"" ) ; double quote is string quote too
( ?\` . "$") ; backquote is open and close paren