Function: fundamental-mode

fundamental-mode is an interactive and byte-compiled function defined in simple.el.gz.

Signature

(fundamental-mode)

Documentation

Major mode not specialized for anything in particular.

Other major modes are defined by comparison with this one.

View in manual

Probably introduced at or before Emacs version 27.1.

Key Bindings

Aliases

evil--fundamental-mode

Source Code

;; Defined in /usr/src/emacs/lisp/simple.el.gz
;;;

(defun fundamental-mode ()
  "Major mode not specialized for anything in particular.
Other major modes are defined by comparison with this one."
  (interactive)
  (kill-all-local-variables)
  (run-mode-hooks))