summary refs log tree commit diff
path: root/nixos/modules/services/editors/emacs.xml
diff options
context:
space:
mode:
authorpennae <github@quasiparticle.net>2023-01-04 01:36:16 +0100
committerpennae <github@quasiparticle.net>2023-01-10 10:31:53 +0100
commit21c0c631bc78aac892634f539d07db95897119f7 (patch)
tree44e42c9774b14240f7e3e35b1a27ddb8dc24d081 /nixos/modules/services/editors/emacs.xml
parent6aa4c2f9fc622487fe3078c841555811e8db2e37 (diff)
nixos/manual: normalize <function> -> <literal>
use <literal> instead since markdown will have them as inline code blocks.
Diffstat (limited to 'nixos/modules/services/editors/emacs.xml')
-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 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 &lt;RET&gt; nixos-rebuild
     &lt;RET&gt;.</literal>
    </para>