diff en/99defs.tex @ 62:8806b2875f10

Finish off a big whack of content for the hook chapter.
author Bryan O'Sullivan <bos@serpentine.com>
date Fri, 04 Aug 2006 13:29:38 -0700
parents 0aae9d676e0f
children ea951cfb5cd9
line wrap: on
line diff
--- a/en/99defs.tex	Fri Aug 04 05:28:08 2006 -0700
+++ b/en/99defs.tex	Fri Aug 04 13:29:38 2006 -0700
@@ -55,7 +55,7 @@
 
 % Named item in a hgrc file section.
 \newcommand{\rcitem}[2]{\index{\texttt{hgrc} file!\texttt{#1}
-    section!\texttt{#2} entry}\texttt{#1.#2}}
+    section!\texttt{#2} entry}\texttt{#2}}
 
 % hgrc file.
 \newcommand{\hgrc}{\index{\texttt{hgrc} file}\texttt{hgrc}}
@@ -74,6 +74,10 @@
 \newcommand{\pymodclass}[2]{\index{\texttt{#1} module!\texttt{#2}
     class}\texttt{#1.#2}}
 
+% Python function in a module.
+\newcommand{\pymodfunc}[2]{\index{\texttt{#1} module!\texttt{#2}
+    function}\texttt{#1.#2}}
+
 % Note: blah blah.
 \newsavebox{\notebox}
 \newenvironment{note}%