diff options
author | pennae <github@quasiparticle.net> | 2023-01-04 01:36:16 +0100 |
---|---|---|
committer | pennae <github@quasiparticle.net> | 2023-01-10 10:31:53 +0100 |
commit | 21c0c631bc78aac892634f539d07db95897119f7 (patch) | |
tree | 44e42c9774b14240f7e3e35b1a27ddb8dc24d081 /nixos/modules/services | |
parent | 6aa4c2f9fc622487fe3078c841555811e8db2e37 (diff) |
nixos/manual: normalize <function> -> <literal>
use <literal> instead since markdown will have them as inline code blocks.
Diffstat (limited to 'nixos/modules/services')
-rw-r--r-- | nixos/modules/services/editors/emacs.xml | 8 | ||||
-rw-r--r-- | nixos/modules/services/web-apps/discourse.xml | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/nixos/modules/services/editors/emacs.xml b/nixos/modules/services/editors/emacs.xml index 176766fdf4116..e60dfe3b72f81 100644 --- a/nixos/modules/services/editors/emacs.xml +++ b/nixos/modules/services/editors/emacs.xml @@ -124,8 +124,8 @@ <para> Under NixOS, you can continue to use - <function>package-list-packages</function> and - <function>package-install</function> to install packages. You can also + <literal>package-list-packages</literal> and + <literal>package-install</literal> to install packages. You can also declare the set of Emacs packages you need using the derivations from Nixpkgs. The rest of this section discusses declarative installation of Emacs packages through nixpkgs. @@ -383,7 +383,7 @@ services.emacs.package = import /home/cassou/.emacs.d { pkgs = pkgs; }; <para> The <varname>services.emacs.package</varname> option allows a custom derivation to be used, for example, one created by - <function>emacsWithPackages</function>. + <literal>emacsWithPackages</literal>. </para> <para> @@ -523,7 +523,7 @@ systemctl --user enable emacs <title>Accessing man pages</title> <para> - You can use <function>woman</function> to get completion of all available + You can use <literal>woman</literal> to get completion of all available man pages. For example, type <literal>M-x woman <RET> nixos-rebuild <RET>.</literal> </para> diff --git a/nixos/modules/services/web-apps/discourse.xml b/nixos/modules/services/web-apps/discourse.xml index d9dc28fa5e4e1..d9c0d369699f5 100644 --- a/nixos/modules/services/web-apps/discourse.xml +++ b/nixos/modules/services/web-apps/discourse.xml @@ -293,7 +293,7 @@ services.discourse = { Much of the packaging can be done automatically by the <filename>nixpkgs/pkgs/servers/web-apps/discourse/update.py</filename> script - just add the plugin to the <literal>plugins</literal> - list in the <function>update_plugins</function> function and run + list in the <literal>update_plugins</literal> function and run the script: <programlisting language="bash"> ./update.py update-plugins |