diff options
| author | Eli Zaretskii | 2025-01-19 08:06:48 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2025-01-19 08:06:48 +0200 |
| commit | 2a314666e4800639a81ff6562395c3d38cb97e7b (patch) | |
| tree | 9ed3cdb1335827d2a862cd005f52b214b802f4fc /doc/misc/srecode.texi | |
| parent | 20c282ae331a5b71d7bae258ccdaa1e54490c3ef (diff) | |
| download | emacs-2a314666e4800639a81ff6562395c3d38cb97e7b.tar.gz emacs-2a314666e4800639a81ff6562395c3d38cb97e7b.zip | |
Revert "Revert "Use @xref more consistently; "See @ref" -> "@xref"""
This reverts commit 59167e2de8a93341cd235d83e034c00be32403f6.
TRT to use reference in Texinfo is to place some punctuation
character after a reference. This is common both to @ref and
to @xref. So this is what should be done to fix the changeset,
not to revert it.
Diffstat (limited to 'doc/misc/srecode.texi')
| -rw-r--r-- | doc/misc/srecode.texi | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/misc/srecode.texi b/doc/misc/srecode.texi index e8c0958c252..68c03d5ed6a 100644 --- a/doc/misc/srecode.texi +++ b/doc/misc/srecode.texi | |||
| @@ -121,7 +121,7 @@ or add | |||
| 121 | into a language hook function to force it on (which is the default) or | 121 | into a language hook function to force it on (which is the default) or |
| 122 | pass in @code{-1} to force it off. | 122 | pass in @code{-1} to force it off. |
| 123 | 123 | ||
| 124 | See @ref{SRecode Minor Mode} for more on using the minor mode. | 124 | @xref{SRecode Minor Mode} for more on using the minor mode. |
| 125 | 125 | ||
| 126 | Use the menu to insert templates into the current file. | 126 | Use 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 | |||
| 169 | it, you can write templates within the same context and with the same | 169 | it, you can write templates within the same context and with the same |
| 170 | name as core templates. You can force your templates to override the | 170 | name as core templates. You can force your templates to override the |
| 171 | core templates for a particular major mode by setting the | 171 | core templates for a particular major mode by setting the |
| 172 | priority. See @ref{Special Variables}. | 172 | priority. @xref{Special Variables}. |
| 173 | 173 | ||
| 174 | To get going quickly, open a new @file{.srt} file. It will start in | 174 | To get going quickly, open a new @file{.srt} file. It will start in |
| 175 | the @srecode{} template writing mode. Use the @srecode{} minor mode | 175 | the @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 | |||
| 237 | template such as a function to be made specific, such as a function | 237 | template such as a function to be made specific, such as a function |
| 238 | named foo. The value of a variable can be one of three things; a | 238 | named foo. The value of a variable can be one of three things; a |
| 239 | string, a list of more dictionaries, or a special | 239 | string, a list of more dictionaries, or a special |
| 240 | @code{srecode-dictionary-compound-value} object subclass. See | 240 | @code{srecode-dictionary-compound-value} object subclass. |
| 241 | @ref{Variables} for more. | 241 | @xref{Variables} for more. |
| 242 | 242 | ||
| 243 | @section Template Insertion | 243 | @section Template Insertion |
| 244 | The template insertion layer involves extensions to the basic template | 244 | The 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 | |||
| 589 | the variable is an @EIEIO{} object, which is a subclass of | 589 | the variable is an @EIEIO{} object, which is a subclass of |
| 590 | @code{srecode-dictionary-compound-value}. | 590 | @code{srecode-dictionary-compound-value}. |
| 591 | 591 | ||
| 592 | New compound variables can only be setup from Lisp code. See | 592 | New compound variables can only be setup from Lisp code. |
| 593 | @ref{Compound Dictionary Values} for details on setting up compound | 593 | @xref{Compound Dictionary Values} for details on setting up compound |
| 594 | variables from Lisp. | 594 | variables from Lisp. |
| 595 | 595 | ||
| 596 | @node Templates | 596 | @node Templates |
| @@ -707,7 +707,7 @@ major mode. | |||
| 707 | 707 | ||
| 708 | Template macros occur in the template text. The default escape | 708 | Template macros occur in the template text. The default escape |
| 709 | characters are ``@{@{`` and ``@}@}'', though they can be changed | 709 | characters are ``@{@{`` and ``@}@}'', though they can be changed |
| 710 | in the top-level variables. See @ref{Variables}. | 710 | in the top-level variables. @xref{Variables}. |
| 711 | 711 | ||
| 712 | Thus, if you have the template code that looks like this: | 712 | Thus, if you have the template code that looks like this: |
| 713 | 713 | ||