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

(py-guess-indent-offset): Only print message about py-indent-offset

when in an interactive session (suggested by B. Wiener).
üst 02e5f69c
......@@ -1802,9 +1802,10 @@ it's tried again going backward."
(funcall (if global 'kill-local-variable 'make-local-variable)
'py-indent-offset)
(setq py-indent-offset new-value)
(message "%s value of py-indent-offset set to %d"
(if global "Global" "Local")
py-indent-offset))
(or noninteractive
(message "%s value of py-indent-offset set to %d"
(if global "Global" "Local")
py-indent-offset)))
))
(defun py-comment-indent-function ()
......
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