aboutsummaryrefslogtreecommitdiff
path: root/nixos/modules/services/editors
diff options
context:
space:
mode:
authorGraham Christensen <graham@grahamc.com>2018-09-02 15:56:02 -0400
committerGraham Christensen <graham@grahamc.com>2018-09-02 15:56:24 -0400
commit61deecdc34fc609d0f805b434101f3c8ae3b807a (patch)
tree7f8981071af367b66e9d419e4e6622f6d3f8fe81 /nixos/modules/services/editors
parenta3872f66b73a603a6b030e5bcae537c4daf35643 (diff)
nixos docs: more IDs
Diffstat (limited to 'nixos/modules/services/editors')
-rw-r--r--nixos/modules/services/editors/emacs.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/nixos/modules/services/editors/emacs.xml b/nixos/modules/services/editors/emacs.xml
index 631570d6dec..94eb2e6a77b 100644
--- a/nixos/modules/services/editors/emacs.xml
+++ b/nixos/modules/services/editors/emacs.xml
@@ -274,7 +274,7 @@ $ ./result/bin/emacs -q
<para>
The list of available packages in the various ELPA
repositories can be seen with the following commands:
- <example>
+ <example xml:id="module-services-emacs-querying-packages">
<title>Querying Emacs packages</title>
<programlisting><![CDATA[
nix-env -f "<nixpkgs>" -qaP -A emacsPackagesNg.elpaPackages
@@ -291,7 +291,7 @@ nix-env -f "<nixpkgs>" -qaP -A emacsPackagesNg.orgPackages
(see <xref linkend="sec-declarative-package-mgmt" />). Simply
modify your file <filename>configuration.nix</filename> to
make it contain:
- <example>
+ <example xml:id="module-services-emacs-configuration-nix">
<title>Custom Emacs in <filename>configuration.nix</filename></title>
<programlisting><![CDATA[
{
@@ -319,7 +319,7 @@ https://nixos.org/nixpkgs/manual/#sec-modify-via-packageOverrides
Emacs only for yourself, you can do so by adding it to your
<filename>~/.config/nixpkgs/config.nix</filename>
(see <link xlink:href="http://nixos.org/nixpkgs/manual/#sec-modify-via-packageOverrides">Nixpkgs manual</link>):
- <example>
+ <example xml:id="module-services-emacs-config-nix">
<title>Custom Emacs in <filename>~/.config/nixpkgs/config.nix</filename></title>
<programlisting><![CDATA[
{
@@ -522,7 +522,7 @@ emacsclient --create-frame --tty # opens a new frame on the current terminal
The Emacs init file should be changed to load the extension
packages at startup:
- <example>
+ <example xml:id="module-services-emacs-package-initialisation">
<title>Package initialization in <filename>.emacs</filename></title>
<programlisting><![CDATA[
(require 'package)