[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/symbol-overlay 06c5a46ef7 017/152: fix some typos
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/symbol-overlay 06c5a46ef7 017/152: fix some typos |
Date: |
Thu, 7 Jul 2022 12:04:07 -0400 (EDT) |
branch: elpa/symbol-overlay
commit 06c5a46ef7f105ac0281a881b5b4f914e2de314b
Author: wolray <290061869@qq.com>
Commit: wolray <290061869@qq.com>
fix some typos
---
symbol-overlay.el | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/symbol-overlay.el b/symbol-overlay.el
index 536c78955d..70ffad7a9c 100644
--- a/symbol-overlay.el
+++ b/symbol-overlay.el
@@ -71,6 +71,7 @@
(require 'thingatpt)
(require 'cl-lib)
+(require 'seq)
(defvar symbol-overlay-map
(let ((map (make-sparse-keymap)))
@@ -185,7 +186,7 @@ If COLOR-MSG is non-nil, add the color used by current
overlay in brackets."
(defun symbol-overlay-jump-call (jump-function &optional dir)
"A general jumping process during which JUMP-FUNCTION is called to jump.
-If optional argument DIR is non-nil, use it rather than the default value 1."
+If DIR is non-nil, use it rather than the default value 1."
(unless (minibufferp)
(let ((symbol (symbol-overlay-get-symbol)))
(funcall jump-function symbol (or dir 1))
@@ -223,7 +224,7 @@ If optional argument DIR is non-nil, use it rather than the
default value 1."
;;;###autoload
(defun symbol-overlay-jump-to-definition ()
"Jump to the definition of symbol at point.
-The definition syntax should be defined in a lambda funtion stored in
+The definition syntax should be defined in a lambda function stored in
`symbol-overlay-definition-function' that will return the definition's regexp
with the input symbol."
(interactive)
@@ -241,7 +242,7 @@ with the input symbol."
(when (= pt (point)) (setq p nil)))))))
(defun symbol-overlay-switch-symbol (dir)
- "Switch to the closest symbol hightlighted nearby, in the direction DIR.
+ "Switch to the closest symbol highlighted nearby, in the direction DIR.
DIR must be 1 or -1."
(let* ((symbol (symbol-overlay-get-symbol nil t))
(keyword (symbol-overlay-assoc symbol t))
@@ -283,9 +284,10 @@ DIR must be 1 or -1."
(unless (minibufferp)
(let* ((symbol (symbol-overlay-get-symbol))
(keyword (symbol-overlay-assoc symbol))
- (new (read-string "Replacement: "))
- (defaults (cons symbol new)))
+ new defaults)
(beginning-of-thing 'symbol)
+ (setq new (read-string "Replacement: ")
+ defaults (cons symbol new))
(query-replace-regexp symbol new)
(setq query-replace-defaults
(if (< emacs-major-version 25) `,defaults `(,defaults)))
- [nongnu] elpa/symbol-overlay 191d07ec35 001/152: (init 1.0), (continued)
- [nongnu] elpa/symbol-overlay 191d07ec35 001/152: (init 1.0), ELPA Syncer, 2022/07/07
- [nongnu] elpa/symbol-overlay 3bbbd22852 002/152: (so-overlay-map) (major-version), ELPA Syncer, 2022/07/07
- [nongnu] elpa/symbol-overlay 8330423db6 005/152: add readme.md, ELPA Syncer, 2022/07/07
- [nongnu] elpa/symbol-overlay 331b14542c 004/152: rename so-keywords to so-keywords-alist, ELPA Syncer, 2022/07/07
- [nongnu] elpa/symbol-overlay 188df4744b 007/152: after auot-insert, ELPA Syncer, 2022/07/07
- [nongnu] elpa/symbol-overlay 4da9d67578 008/152: edit the summary, ELPA Syncer, 2022/07/07
- [nongnu] elpa/symbol-overlay e31bbd140a 011/152: Fix some typos, ELPA Syncer, 2022/07/07
- [nongnu] elpa/symbol-overlay 8b4e26db1c 014/152: Fix the prefix errors, ELPA Syncer, 2022/07/07
- [nongnu] elpa/symbol-overlay 4cf1d3c0d2 024/152: better auto-refresh, ELPA Syncer, 2022/07/07
- [nongnu] elpa/symbol-overlay 4a297843fd 016/152: v2.1, add 3 commands for switching and renaming symbols, ELPA Syncer, 2022/07/07
- [nongnu] elpa/symbol-overlay 06c5a46ef7 017/152: fix some typos,
ELPA Syncer <=
- [nongnu] elpa/symbol-overlay 3d1811ca31 021/152: (v2.4) a new auto-refresh, ELPA Syncer, 2022/07/07
- [nongnu] elpa/symbol-overlay f68b908cbb 026/152: fix errors in symbol-replacing, ELPA Syncer, 2022/07/07
- [nongnu] elpa/symbol-overlay 2650738135 031/152: a new image, ELPA Syncer, 2022/07/07
- [nongnu] elpa/symbol-overlay 389cc1519a 040/152: fix missed minibufferp check, ELPA Syncer, 2022/07/07
- [nongnu] elpa/symbol-overlay a5b5e62cad 045/152: change the temp-face, ELPA Syncer, 2022/07/07
- [nongnu] elpa/symbol-overlay f0418dea49 047/152: enable scope in the minor-mode, ELPA Syncer, 2022/07/07
- [nongnu] elpa/symbol-overlay 765e1d3b07 050/152: improvements on refresh, ELPA Syncer, 2022/07/07
- [nongnu] elpa/symbol-overlay dbe35b271d 056/152: bind jump-and-switch keys to p/n, ELPA Syncer, 2022/07/07
- [nongnu] elpa/symbol-overlay fcd6ffe97a 059/152: delete symbol-overlay-narrow-function, ELPA Syncer, 2022/07/07
- [nongnu] elpa/symbol-overlay b6f4bc4aa6 060/152: v3.6: remove put-temp-one and mark, improve refresh for temp, ELPA Syncer, 2022/07/07