diff options
author | Graham Christensen <graham@grahamc.com> | 2018-04-30 21:30:20 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-30 21:30:20 -0400 |
commit | d1165dba9979b6bd4ba063b7e39384ece33eec4e (patch) | |
tree | 97ef14c099cb326ce0271de38f075ac3ed4df91a /nixos/modules/services/editors | |
parent | 8cb0252b1e50a5236793e0fbf39b39510725ccf0 (diff) | |
parent | 7292c5a5701bacc4188a00e0399a92aa748ec6a5 (diff) | |
download | nixpkgs-d1165dba9979b6bd4ba063b7e39384ece33eec4e.tar nixpkgs-d1165dba9979b6bd4ba063b7e39384ece33eec4e.tar.gz nixpkgs-d1165dba9979b6bd4ba063b7e39384ece33eec4e.tar.bz2 nixpkgs-d1165dba9979b6bd4ba063b7e39384ece33eec4e.tar.lz nixpkgs-d1165dba9979b6bd4ba063b7e39384ece33eec4e.tar.xz nixpkgs-d1165dba9979b6bd4ba063b7e39384ece33eec4e.tar.zst nixpkgs-d1165dba9979b6bd4ba063b7e39384ece33eec4e.zip |
Merge pull request #38831 from rdnetto/improve-cross-refs
Improve cross referencing in NixOS Manual
Diffstat (limited to 'nixos/modules/services/editors')
-rw-r--r-- | nixos/modules/services/editors/emacs.xml | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/nixos/modules/services/editors/emacs.xml b/nixos/modules/services/editors/emacs.xml index dd66bac442c..dfab5ce4a79 100644 --- a/nixos/modules/services/editors/emacs.xml +++ b/nixos/modules/services/editors/emacs.xml @@ -404,10 +404,10 @@ in [...] user service for Emacs daemon, add the following to your <filename>configuration.nix</filename>: - <programlisting><![CDATA[ -services.emacs.enable = true; -services.emacs.package = import /home/cassou/.emacs.d { pkgs = pkgs; }; -]]></programlisting> +<programlisting> +<xref linkend="opt-services.emacs.enable"/> = true; +<xref linkend="opt-services.emacs.package"/> = import /home/cassou/.emacs.d { pkgs = pkgs; }; +</programlisting> </para> <para> @@ -462,7 +462,7 @@ emacsclient --create-frame --tty # opens a new frame on the current terminal <!--<title><command>emacsclient</command> as the Default Editor</title>--> <para> - If <varname>services.emacs.defaultEditor</varname> is + If <xref linkend="opt-services.emacs.defaultEditor"/> is <literal>true</literal>, the <varname>EDITOR</varname> variable will be set to a wrapper script which launches <command>emacsclient</command>. @@ -497,10 +497,10 @@ emacsclient --create-frame --tty # opens a new frame on the current terminal Emacs daemon is not wanted for all users, it is possible to install the service but not globally enable it: - <programlisting><![CDATA[ -services.emacs.enable = false; -services.emacs.install = true; -]]></programlisting> +<programlisting> +<xref linkend="opt-services.emacs.enable"/> = false; +<xref linkend="opt-services.emacs.install"/> = true; +</programlisting> </para> <para> @@ -582,7 +582,7 @@ services.emacs.install = true; <para> To install the DocBook 5.0 schemas, either add <varname>pkgs.docbook5</varname> to - <varname>environment.systemPackages</varname> (<link + <xref linkend="opt-environment.systemPackages"/> (<link linkend="sec-declarative-package-mgmt">NixOS</link>), or run <literal>nix-env -i pkgs.docbook5</literal> (<link linkend="sec-ad-hoc-packages">Nix</link>). |