summary refs log tree commit diff
path: root/nixos/modules/services/editors/emacs.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/editors/emacs.nix')
-rw-r--r--nixos/modules/services/editors/emacs.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/services/editors/emacs.nix b/nixos/modules/services/editors/emacs.nix
index 5ae28cd9bbb..b4f447757e7 100644
--- a/nixos/modules/services/editors/emacs.nix
+++ b/nixos/modules/services/editors/emacs.nix
@@ -99,5 +99,7 @@ in
     environment.variables.EDITOR = mkIf cfg.defaultEditor (mkOverride 900 "${editorScript}/bin/emacseditor");
   };
 
+  # Don't edit the docbook xml directly, edit the md and generate it:
+  # `pandoc emacs.md -t docbook --top-level-division=chapter --extract-media=media -f markdown-smart --lua-filter ../../../../doc/build-aux/pandoc-filters/myst-reader/roles.lua --lua-filter ../../../../doc/build-aux/pandoc-filters/docbook-writer/rst-roles.lua > emacs.xml`
   meta.doc = ./emacs.xml;
 }