[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
198/376: Derive Emacs nix-mode from prog-mode.
From: |
Ludovic Courtès |
Subject: |
198/376: Derive Emacs nix-mode from prog-mode. |
Date: |
Wed, 28 Jan 2015 22:05:00 +0000 |
civodul pushed a commit to tag 1.8
in repository guix.
commit eca29bd72de5fe814fd1ae8edc8c36351a0759d8
Author: Robert Helgesson <address@hidden>
Date: Wed Sep 17 08:19:51 2014 +0200
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 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/misc/emacs/nix-mode.el b/misc/emacs/nix-mode.el
index fc64523..790799d 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:
- 168/376: Fix boost::too_many_args error, (continued)
- 168/376: Fix boost::too_many_args error, Ludovic Courtès, 2015/01/28
- 174/376: build-remote.pl: UTF-8-decode errors, Ludovic Courtès, 2015/01/28
- 180/376: Don't rely on process substitution, Ludovic Courtès, 2015/01/28
- 177/376: Improved support for building JARs, Ludovic Courtès, 2015/01/28
- 187/376: Drop reference to FreeBSD, Ludovic Courtès, 2015/01/28
- 189/376: Tweak some chapter titles, Ludovic Courtès, 2015/01/28
- 175/376: Hack to prevent Makefile.config from being regenerated by "make clean", Ludovic Courtès, 2015/01/28
- 186/376: Remove pointless "license" section, Ludovic Courtès, 2015/01/28
- 190/376: Undocument NIX_OTHER_STORES, Ludovic Courtès, 2015/01/28
- 184/376: Nicer file names for the release notes, Ludovic Courtès, 2015/01/28
- 198/376: Derive Emacs nix-mode from prog-mode.,
Ludovic Courtès <=
- 179/376: Fix JAR installation, Ludovic Courtès, 2015/01/28
- 194/376: Style tweak, Ludovic Courtès, 2015/01/28
- 192/376: Fix references to version.txt, Ludovic Courtès, 2015/01/28
- 188/376: Drop "service deployment" bla bla, Ludovic Courtès, 2015/01/28
- 185/376: Release notes: Use a section per version, Ludovic Courtès, 2015/01/28
- 191/376: Drop separate release notes, Ludovic Courtès, 2015/01/28
- 199/376: Settings: Add bool get(), Ludovic Courtès, 2015/01/28
- 193/376: Fix parallel make of manpages, Ludovic Courtès, 2015/01/28
- 195/376: Make troubleshooting an appendix, Ludovic Courtès, 2015/01/28
- 197/376: Remove unhelpful suggestion, Ludovic Courtès, 2015/01/28