diff --git a/doc/guix.texi b/doc/guix.texi
index 0ff5cfc523da4390ba71821dfe2bf6d5b8cb06bc..42b3fbad2156b1ed20c645670b5d21ebf8f59692 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -2651,7 +2651,7 @@ The list of phases used for a particular package can be changed with the
 @code{#:phases} parameter.  For instance, passing:
 
 @example
-#:phases (alist-delete 'configure %standard-phases)
+#:phases (modify-phases %standard-phases (delete 'configure))
 @end example
 
 means that all the phases described above will be used, except the