Function: completion-mode
completion-mode is an interactive and byte-compiled function defined
in completion.el.gz.
Signature
(completion-mode)
Documentation
Toggle whether or not to add new words to the completion database.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/completion.el.gz
;;-----------------------------------------------
;; COMPLETE
;;-----------------------------------------------
(defun completion-mode ()
"Toggle whether or not to add new words to the completion database."
(interactive)
(setq enable-completion (not enable-completion))
(message "Completion mode is now %s." (if enable-completion "ON" "OFF")))