emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/symbol-overlay e31bbd140a 011/152: Fix some typos


From: ELPA Syncer
Subject: [nongnu] elpa/symbol-overlay e31bbd140a 011/152: Fix some typos
Date: Thu, 7 Jul 2022 12:04:07 -0400 (EDT)

branch: elpa/symbol-overlay
commit e31bbd140a400bff77e90b96226d1b0434dba0af
Author: wolray <290061869@qq.com>
Commit: wolray <290061869@qq.com>

    Fix some typos
---
 readme.md         | 2 +-
 symbol-overlay.el | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/readme.md b/readme.md
index 232edc4823..b823e6b233 100644
--- a/readme.md
+++ b/readme.md
@@ -5,7 +5,7 @@ Highlighting symbol while enabling you to jump from one 
occurrence to another or
 Advantages
 ---
 - In `symbol-overlay`, `overlay-put` is much faster than the traditional 
highligting method `font-lock-fontify-buffer`, especially in a large buffer or 
even a less-than-100-lines small buffer of major-mode with complicated keywords 
syntax such as haskell-mode.
-- More importantly, using `overlay-put` to highlight symbols has an extra 
benifit to enable **AN AUTO-ACTIVATED OVERLAY-INSIDE KEYMAP** for quick jump 
and other useful commands.
+- More importantly, using `overlay-put` to highlight symbols has a significant 
benefit to enabling **AN AUTO-ACTIVATED OVERLAY-INSIDE KEYMAP** for quick jump 
and other useful commands.
 - You can also jump to a symbol's definition from any occurrence by using 
`so-jump-to-def`, as long as the syntax of the definition is specified in the 
buffer-local variable `so-def-function`.
 - All the overlays of each symbol are stored sequentially in an alist 
`so-keywords-alist`. By simply getting the current overlay's index in the 
corresponding keyword-list as well as the length of it in the alist, the number 
of occurrences can be immediately obtained. While in `highlight-symbol`, this 
would call the function `how-many` twice, causing extra costs.
 
diff --git a/symbol-overlay.el b/symbol-overlay.el
index 4da97f7d9a..49ab75adc2 100644
--- a/symbol-overlay.el
+++ b/symbol-overlay.el
@@ -36,8 +36,8 @@
 ;; keywords syntax such as haskell-mode.
 
 ;; More importantly, using `overlay-put' to highlight symbols has a significant
-;; benefit to enable AN AUTO-ACTIVATED OVERLAY-INSIDE KEYMAP for quick jump and
-;; other useful commands.
+;; benefit to enabling AN AUTO-ACTIVATED OVERLAY-INSIDE KEYMAP for quick jump
+;; and other useful commands.
 
 ;; You can also jump to a symbol's definition from any occurrence by
 ;; using `so-jump-to-def', as long as the syntax of the definition is specified



reply via email to

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