aboutsummaryrefslogtreecommitdiffstats
path: root/doc/misc/srecode.texi
diff options
context:
space:
mode:
authorPo Lu2025-01-19 08:58:45 +0800
committerPo Lu2025-01-19 08:59:28 +0800
commit59167e2de8a93341cd235d83e034c00be32403f6 (patch)
tree8c98573e87eb55052ca97a58e34163cf13718e5a /doc/misc/srecode.texi
parente54b94c28cdf9699009e7691f7c8ffa5b2c7b741 (diff)
downloademacs-59167e2de8a93341cd235d83e034c00be32403f6.tar.gz
emacs-59167e2de8a93341cd235d83e034c00be32403f6.zip
Revert "Use @xref more consistently; "See @ref" -> "@xref""
This reverts commit e54b94c28cdf9699009e7691f7c8ffa5b2c7b741, which prevented building Emacs on a number of my machine(s).
Diffstat (limited to 'doc/misc/srecode.texi')
-rw-r--r--doc/misc/srecode.texi14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/misc/srecode.texi b/doc/misc/srecode.texi
index 68c03d5ed6a..e8c0958c252 100644
--- a/doc/misc/srecode.texi
+++ b/doc/misc/srecode.texi
@@ -121,7 +121,7 @@ or add
121into a language hook function to force it on (which is the default) or 121into a language hook function to force it on (which is the default) or
122pass in @code{-1} to force it off. 122pass in @code{-1} to force it off.
123 123
124@xref{SRecode Minor Mode} for more on using the minor mode. 124See @ref{SRecode Minor Mode} for more on using the minor mode.
125 125
126Use the menu to insert templates into the current file. 126Use the menu to insert templates into the current file.
127 127
@@ -169,7 +169,7 @@ Each template file you write is dedicated to a single major mode. In
169it, you can write templates within the same context and with the same 169it, you can write templates within the same context and with the same
170name as core templates. You can force your templates to override the 170name as core templates. You can force your templates to override the
171core templates for a particular major mode by setting the 171core templates for a particular major mode by setting the
172priority. @xref{Special Variables}. 172priority. See @ref{Special Variables}.
173 173
174To get going quickly, open a new @file{.srt} file. It will start in 174To get going quickly, open a new @file{.srt} file. It will start in
175the @srecode{} template writing mode. Use the @srecode{} minor mode 175the @srecode{} template writing mode. Use the @srecode{} minor mode
@@ -237,8 +237,8 @@ used in macros in a template. Variables are what allows a generic
237template such as a function to be made specific, such as a function 237template such as a function to be made specific, such as a function
238named foo. The value of a variable can be one of three things; a 238named foo. The value of a variable can be one of three things; a
239string, a list of more dictionaries, or a special 239string, a list of more dictionaries, or a special
240@code{srecode-dictionary-compound-value} object subclass. 240@code{srecode-dictionary-compound-value} object subclass. See
241@xref{Variables} for more. 241@ref{Variables} for more.
242 242
243@section Template Insertion 243@section Template Insertion
244The template insertion layer involves extensions to the basic template 244The template insertion layer involves extensions to the basic template
@@ -589,8 +589,8 @@ A variable can also have a compound value. This means the value of
589the variable is an @EIEIO{} object, which is a subclass of 589the variable is an @EIEIO{} object, which is a subclass of
590@code{srecode-dictionary-compound-value}. 590@code{srecode-dictionary-compound-value}.
591 591
592New compound variables can only be setup from Lisp code. 592New compound variables can only be setup from Lisp code. See
593@xref{Compound Dictionary Values} for details on setting up compound 593@ref{Compound Dictionary Values} for details on setting up compound
594variables from Lisp. 594variables from Lisp.
595 595
596@node Templates 596@node Templates
@@ -707,7 +707,7 @@ major mode.
707 707
708Template macros occur in the template text. The default escape 708Template macros occur in the template text. The default escape
709characters are ``@{@{`` and ``@}@}'', though they can be changed 709characters are ``@{@{`` and ``@}@}'', though they can be changed
710in the top-level variables. @xref{Variables}. 710in the top-level variables. See @ref{Variables}.
711 711
712Thus, if you have the template code that looks like this: 712Thus, if you have the template code that looks like this:
713 713