From eca29bd72de5fe814fd1ae8edc8c36351a0759d8 Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Wed, 17 Sep 2014 08:19:51 +0200 Subject: 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. --- misc/emacs/nix-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'misc') diff --git a/misc/emacs/nix-mode.el b/misc/emacs/nix-mode.el index fc64523f1..790799d85 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: -- cgit v1.2.3