nixos/manual: normalize <function> -> <literal>

use <literal> instead since markdown will have them as inline code blocks.

pennae 21c0c631 6aa4c2f9

Changed files
+5 -5
nixos
modules
services
editors
web-apps
+4 -4
nixos/modules/services/editors/emacs.xml
···
<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.
···
<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>
···
<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 &lt;RET&gt; nixos-rebuild
&lt;RET&gt;.</literal>
</para>
+1 -1
nixos/modules/services/web-apps/discourse.xml
···
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