Kaydet (Commit) 8046befc authored tarafından Barry Warsaw's avatar Barry Warsaw

#(py-smart-indentation): Small fixes for clarity in the docstring.

üst 9e996885
...@@ -164,13 +164,12 @@ to `python-mode': ...@@ -164,13 +164,12 @@ to `python-mode':
2. `indent-tabs-mode' is set as follows: if `py-indent-offset' 2. `indent-tabs-mode' is set as follows: if `py-indent-offset'
equals `tab-width' then `indent-tabs-mode' is set to t, equals `tab-width' then `indent-tabs-mode' is set to t,
otherwise it is set to nil. This means that for newly written otherwise it is set to nil. This means that for newly written
code, tabs are only inserted in indentation if a one tab is one code, tabs are only inserted in indentation if one tab is one
indentation level, otherwise only spaces are used. indentation level, otherwise only spaces are used.
Note that both these settings occur *after* `python-mode-hook' is run, Note that both these settings occur *after* `python-mode-hook' is run,
so if you set either of these values explicitly, and you want to so if you want to defeat the automagic configuration, you must also
defeat the automagic configuration, you must also set set `py-smart-indentation' to nil in your `python-mode-hook'."
`py-smart-indentation' to nil in your `python-mode-hook'."
:type 'boolean :type 'boolean
:group 'python) :group 'python)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment