diff options
author | Robert Helgesson <robert@rycee.net> | 2014-09-17T06·19+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-09-17T11·35+0200 |
commit | eca29bd72de5fe814fd1ae8edc8c36351a0759d8 (patch) | |
tree | 186562e492a8fbaade2f227fb8f8fc1e45362442 /misc/emacs | |
parent | a2fc9c6b57ff64d535eef555d2260a81c19e2a2b (diff) |
Derive Emacs nix-mode from prog-mode.
Emacs 24.1 introduced the notion of "basic major modes" and among these is prog-mode, see section "23.2.5 Basic Major Modes" in the Emacs manual. The prog-mode basic major mode is recommended as a base for derived major modes that are intended for editing source code.
Diffstat (limited to 'misc/emacs')
-rw-r--r-- | misc/emacs/nix-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/emacs/nix-mode.el b/misc/emacs/nix-mode.el index fc64523f1a28..790799d858cc 100644 --- a/misc/emacs/nix-mode.el +++ b/misc/emacs/nix-mode.el @@ -45,7 +45,7 @@ ;;;###autoload -(define-derived-mode nix-mode fundamental-mode "Nix" +(define-derived-mode nix-mode prog-mode "Nix" "Major mode for editing Nix expressions. The following commands may be useful: |