emacs-diffs
[Top][All Lists]
Advanced

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

emacs-28 d72fefd: Fix typos in the manual and in a comment


From: Lars Ingebrigtsen
Subject: emacs-28 d72fefd: Fix typos in the manual and in a comment
Date: Thu, 28 Oct 2021 17:33:18 -0400 (EDT)

branch: emacs-28
commit d72fefdeabf2da7668aebc7ec0ff8008d63247a9
Author: Jan Synacek <jan.synacek@gmail.com>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Fix typos in the manual and in a comment
    
    * lisp/minibuffer.el (completion-pcm--hilit-commonality):
    * doc/lispintro/emacs-lisp-intro.texi (Mode Line): Fix typos
    (bug#51434).
    
    Copyright-paperwork-exempt: yes
---
 doc/lispintro/emacs-lisp-intro.texi |  2 +-
 lisp/minibuffer.el                  | 13 +++++++------
 2 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/doc/lispintro/emacs-lisp-intro.texi 
b/doc/lispintro/emacs-lisp-intro.texi
index 391b6d9..308153f 100644
--- a/doc/lispintro/emacs-lisp-intro.texi
+++ b/doc/lispintro/emacs-lisp-intro.texi
@@ -17843,7 +17843,7 @@ xmodmap -e "keysym Alt_L = Meta_L Alt_L"
 Finally, a feature I really like: a modified mode line.
 
 When I work over a network, I forget which machine I am using.  Also,
-I tend to I lose track of where I am, and which line point is on.
+I tend to lose track of where I am, and which line point is on.
 
 So I reset my mode line to look like this:
 
diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el
index bc21f02..ca82b4a 100644
--- a/lisp/minibuffer.el
+++ b/lisp/minibuffer.el
@@ -3579,12 +3579,13 @@ between 0 and 1, and with faces 
`completions-common-part',
                 ;; "hole" in the middle of the string is indicated by
                 ;; "-".  Note that there are no "holes" near the edges
                 ;; of the string.  The completion score is a number
-                ;; bound by ]0..1]: the higher the better and only a
-                ;; perfect match (pattern equals string) will have
-                ;; score 1.  The formula takes the form of a quotient.
-                ;; For the numerator, we use the number of +, i.e. the
-                ;; length of the pattern.  For the denominator, it
-                ;; first computes
+                ;; bound by (0..1] (i.e., larger than (but not equal
+                ;; to) zero, and smaller or equal to one): the higher
+                ;; the better and only a perfect match (pattern equals
+                ;; string) will have score 1.  The formula takes the
+                ;; form of a quotient.  For the numerator, we use the
+                ;; number of +, i.e. the length of the pattern.  For
+                ;; the denominator, it first computes
                 ;;
                 ;;     hole_i_contrib = 1 + (Li-1)^(1/tightness)
                 ;;



reply via email to

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