emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master df882c9: ; Fix recent shortdoc.el and fns.c additions


From: Basil L. Contovounesios
Subject: master df882c9: ; Fix recent shortdoc.el and fns.c additions
Date: Sun, 27 Dec 2020 08:17:08 -0500 (EST)

branch: master
commit df882c9701755e2ae063f05d3381de14ae09951e
Author: Basil L. Contovounesios <contovob@tcd.ie>
Commit: Basil L. Contovounesios <contovob@tcd.ie>

    ; Fix recent shortdoc.el and fns.c additions
    
    * lisp/emacs-lisp/shortdoc.el (list): Fix typos.
    * src/fns.c (Flength_equal): Fix docstring.
---
 lisp/emacs-lisp/shortdoc.el | 6 +++---
 src/fns.c                   | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/lisp/emacs-lisp/shortdoc.el b/lisp/emacs-lisp/shortdoc.el
index c6259f8..7fb1a88 100644
--- a/lisp/emacs-lisp/shortdoc.el
+++ b/lisp/emacs-lisp/shortdoc.el
@@ -619,11 +619,11 @@ There can be any number of :example/:result elements."
   (length
    :eval (length '(a b c)))
   (length<
-   :eval (lenth< '(a b c) 1))
+   :eval (length< '(a b c) 1))
   (length>
-   :eval (lenth> '(a b c) 1))
+   :eval (length> '(a b c) 1))
   (length=
-   :eval (lenth> '(a b c) 3))
+   :eval (length> '(a b c) 3))
   (safe-length
    :eval (safe-length '(a b c))))
 
diff --git a/src/fns.c b/src/fns.c
index 217e3b6..2de1d26 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -202,7 +202,7 @@ counted.  */)
 }
 
 DEFUN ("length=", Flength_equal, Slength_equal, 2, 2, 0,
-       doc: /* Return non-nil if SEQUENCE is equal to LENGTH.
+       doc: /* Return non-nil if SEQUENCE has length equal to LENGTH.
 See `length' for allowed values of SEQUENCE and how elements are
 counted.  */)
   (Lisp_Object sequence, Lisp_Object length)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]