From 37b5b3ea91a4ed005664540091e5150d2454d8d6 Mon Sep 17 00:00:00 2001 From: Po Lu Date: Fri, 17 Jan 2025 09:25:39 +0800 Subject: [PATCH] Fix the Lisp reference manual for older Texinfo * doc/lispref/symbols.texi (Standard Properties): Don't provide empty reference. * doc/lispref/variables.texi (Lexical Binding): Don't abuse xref in a standalone sentence. --- doc/lispref/symbols.texi | 12 ++++++------ doc/lispref/variables.texi | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/lispref/symbols.texi b/doc/lispref/symbols.texi index 5ac2a32dba0..dc6509c1ae3 100644 --- a/doc/lispref/symbols.texi +++ b/doc/lispref/symbols.texi @@ -560,12 +560,12 @@ symbol. In some cases, the definition cannot be found by looking for the definition of another symbol. For example, a test file might use a -macro to generate calls to @code{ert-deftest} -(@pxref{,,,ert, ERT: Emacs Lisp Regression Testing}) where the code -is boiler plate and only varying data need to be passed in. -In such cases, the @code{find-function-type-alist} property of the -symbol can be an alist that augments @code{find-function-regexp-alist} -telling how to find the definition of symbols of this type. +macro to generate calls to @code{ert-deftest} (@pxref{How to Write +Tests,,,ert, ERT: Emacs Lisp Regression Testing}) where the code is +boiler plate and only varying data need to be passed in. In such cases, +the @code{find-function-type-alist} property of the symbol can be an +alist that augments @code{find-function-regexp-alist} telling how to +find the definition of symbols of this type. In the example of a macro defining calls to @code{ert-deftest}, the macro could put the property @code{find-function-type-alist} on each diff --git a/doc/lispref/variables.texi b/doc/lispref/variables.texi index a2bb1834477..e807d1eb937 100644 --- a/doc/lispref/variables.texi +++ b/doc/lispref/variables.texi @@ -1117,7 +1117,7 @@ cell). will use dynamic binding, even for new bindings such as a @code{let} binding. Depending on how the variable is declared, it can be special globally, for a single file, or for a portion of a file. -@xref{Dynamic Binding} for details. +See @ref{Dynamic Binding} for further details. @node Dynamic Binding @subsection Dynamic Binding