]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
changed underscore to have symbol syntax
authorBarry Warsaw <barry@python.org>
Wed, 18 Oct 1995 14:41:12 +0000 (14:41 +0000)
committerBarry Warsaw <barry@python.org>
Wed, 18 Oct 1995 14:41:12 +0000 (14:41 +0000)
Misc/python-mode.el

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