From: Michael Heerdegen Date: Sun, 2 Jul 2023 01:35:34 +0000 (+0200) Subject: ; Fix two typos in recent changes in the manual X-Git-Tag: emacs-29.1-rc1~77 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fe7b909c16cb7fd4a65975285b566448cb486521;p=emacs.git ; Fix two typos in recent changes in the manual * doc/lispref/text.texi (Property Search): * lisp/register.el (register-preview-function): Fix typos. --- diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi index 342e23beadb..82e79e2bc14 100644 --- a/doc/lispref/text.texi +++ b/doc/lispref/text.texi @@ -3424,7 +3424,7 @@ If @var{not-current} is non-@code{nil}, then if point is already in a region where we have a property match, skip past that region and find the next region instead. -The @code{prop-match} structure has the following accessor functionss: +The @code{prop-match} structure has the following accessor functions: @code{prop-match-beginning} (the start of the match), @code{prop-match-end} (the end of the match), and @code{prop-match-value} (the value of @var{property} at the start of diff --git a/lisp/register.el b/lisp/register.el index 56ab089efb7..06a52a3850e 100644 --- a/lisp/register.el +++ b/lisp/register.el @@ -126,7 +126,7 @@ See the documentation of the variable `register-alist' for possible VALUEs." (defvar register-preview-function #'register-preview-default "Function to format a register for previewing. Called with one argument, a cons (NAME . CONTENTS) as found in `register-alist'. -The function should return a string, the description of teh argument.") +The function should return a string, the description of the argument.") (defun register-preview (buffer &optional show-empty) "Pop up a window showing the registers preview in BUFFER.