about summary refs log tree commit diff
path: root/misc/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'misc/emacs')
-rw-r--r--misc/emacs/nix-mode.el2
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: