git.iko.soy/typeable/nixpkgs
on master help sign in
nixos docs: more IDs
commit61deecdc34fc609d0f805b434101f3c8ae3b807a authorGraham Christensen <graham@grahamc.com> dateSun 2 Sep 2018, 15:56 (8 years ago) parenta3872f6
1 file changed+4−4
nixos/modules/services/editors/emacs.xml+4−4
nixos/modules/services/editors/emacs.xml+4−4
@@ -274,7 +274,7 @@ $ ./result/bin/emacs -q
274274 <para>
275275 The list of available packages in the various ELPA
276276 repositories can be seen with the following commands:
277− <example>
277+ <example xml:id="module-services-emacs-querying-packages">
278278 <title>Querying Emacs packages</title>
279279 <programlisting><![CDATA[
280280nix-env -f "<nixpkgs>" -qaP -A emacsPackagesNg.elpaPackages
@@ -291,7 +291,7 @@ nix-env -f "<nixpkgs>" -qaP -A emacsPackagesNg.orgPackages
291291 (see <xref linkend="sec-declarative-package-mgmt" />). Simply
292292 modify your file <filename>configuration.nix</filename> to
293293 make it contain:
294− <example>
294+ <example xml:id="module-services-emacs-configuration-nix">
295295 <title>Custom Emacs in <filename>configuration.nix</filename></title>
296296 <programlisting><![CDATA[
297297{
@@ -319,7 +319,7 @@ https://nixos.org/nixpkgs/manual/#sec-modify-via-packageOverrides
319319 Emacs only for yourself, you can do so by adding it to your
320320 <filename>~/.config/nixpkgs/config.nix</filename>
321321 (see <link xlink:href="http://nixos.org/nixpkgs/manual/#sec-modify-via-packageOverrides">Nixpkgs manual</link>):
322− <example>
322+ <example xml:id="module-services-emacs-config-nix">
323323 <title>Custom Emacs in <filename>~/.config/nixpkgs/config.nix</filename></title>
324324 <programlisting><![CDATA[
325325{
@@ -522,7 +522,7 @@ emacsclient --create-frame --tty # opens a new frame on the current terminal
522522 The Emacs init file should be changed to load the extension
523523 packages at startup:
524524
525− <example>
525+ <example xml:id="module-services-emacs-package-initialisation">
526526 <title>Package initialization in <filename>.emacs</filename></title>
527527 <programlisting><![CDATA[
528528(require 'package)