Function: python-shell-completion-native-toggle

python-shell-completion-native-toggle is an interactive and byte-compiled function defined in python.el.gz.

Signature

(python-shell-completion-native-toggle &optional MSG)

Documentation

Toggle shell native completion.

With argument MSG show activation/deactivation message.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/python.el.gz
(defun python-shell-completion-native-toggle (&optional msg)
  "Toggle shell native completion.
With argument MSG show activation/deactivation message."
  (interactive "p")
  (python-shell-with-shell-buffer
    (if python-shell-completion-native-enable
        (python-shell-completion-native-turn-off msg)
      (python-shell-completion-native-turn-on msg))
    python-shell-completion-native-enable))