[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/el-search 1694128 029/332: some doc tweaks
From: |
Stefan Monnier |
Subject: |
[elpa] externals/el-search 1694128 029/332: some doc tweaks |
Date: |
Tue, 1 Dec 2020 15:48:04 -0500 (EST) |
branch: externals/el-search
commit 16941283fa73481caf0f5dca30526bdc3b4139ca
Author: Michael Heerdegen <michael_heerdegen@web.de>
Commit: Michael Heerdegen <michael_heerdegen@web.de>
some doc tweaks
---
el-search.el | 21 +++++++++------------
1 file changed, 9 insertions(+), 12 deletions(-)
diff --git a/el-search.el b/el-search.el
index ba53cbc..1107a10 100644
--- a/el-search.el
+++ b/el-search.el
@@ -72,15 +72,15 @@
;; `emacs-lisp-mode'.
;;
;; When reading a search pattern in the minibuffer, the input is
-;; automatically wrapped into `(and expr ,(read input)). So, if you
+;; automatically wrapped into `(and exp ,(read input)). So, if you
;; want to search a buffer for symbols that are defined in "cl-lib",
;; you can use this pattern
;;
-;; (guard (and (symbolp expr)
-;; (when-let ((file (symbol-file expr)))
+;; (guard (and (symbolp exp)
+;; (when-let ((file (symbol-file exp)))
;; (string-match-p "cl-lib\\.elc?$" file))))
;;
-;; without binding the variable `expr'.
+;; without binding the variable `exp'.
;;
;;
;; Replacing
@@ -194,10 +194,9 @@
:group 'lisp)
(defcustom el-search-this-expression-identifier 'exp
- "Name of the identifier referring to the whole expression.
-The default value is `expr'. You can use this variable in the
-search prompt to refer to value of the currently searched
-expression."
+ "Name of the identifier referring to the current expression.
+The default value is `exp'. You can use this name in the search
+prompt to refer to the value of the currently tested expression."
:type 'symbol)
(defface el-search-match '((((background dark)) (:background "#0000A0"))
@@ -324,9 +323,7 @@ Point must not be inside a string or comment."
Set point to the beginning of the occurrence found and return
point. Optional second argument, if non-nil, means if fail just
return nil (no error)."
- ;; For better performance we read complete top-level sexps and test
- ;; for matches. We enter top-level expressions in the buffer text
- ;; only when the test was successful.
+
(let ((matcher (el-search--matcher pattern)) (match-beg nil) (opoint
(point)) current-expr)
;; when inside a string or comment, move past it
@@ -432,7 +429,7 @@ return nil (no error)."
;;;###autoload
(defun el-search-pattern (pattern)
- "Do incremental elisp search forward."
+ "Do incremental elisp search or resume last search."
(interactive (list (if (eq this-command last-command)
el-search-current-pattern
(let ((pattern
- [elpa] externals/el-search e42804b 028/332: change a TODO entry; no code change, (continued)
- [elpa] externals/el-search e42804b 028/332: change a TODO entry; no code change, Stefan Monnier, 2020/12/01
- [elpa] externals/el-search c1cfbc6 030/332: rename a local variable, Stefan Monnier, 2020/12/01
- [elpa] externals/el-search fc6eca5 016/332: fix a condition in el-search--do-subsexps, Stefan Monnier, 2020/12/01
- [elpa] externals/el-search 632310e 021/332: rename a function, Stefan Monnier, 2020/12/01
- [elpa] externals/el-search 74015c1 023/332: whitespace clean up, Stefan Monnier, 2020/12/01
- [elpa] externals/el-search 7c42a31 036/332: el-search--read-pattern: fix default(s), Stefan Monnier, 2020/12/01
- [elpa] externals/el-search f54c5f1 037/332: spelling fixes, Stefan Monnier, 2020/12/01
- [elpa] externals/el-search 192316b 006/332: el-search: fix two typos, Stefan Monnier, 2020/12/01
- [elpa] externals/el-search 92538ed 007/332: el-search: remove redundant package dependency on cl-lib, Stefan Monnier, 2020/12/01
- [elpa] externals/el-search 9ab546b 017/332: drop el-search-expression-contains-match-p, Stefan Monnier, 2020/12/01
- [elpa] externals/el-search 1694128 029/332: some doc tweaks,
Stefan Monnier <=
- [elpa] externals/el-search 7886e33 031/332: fix el-search--repair-replacement-layout: don't move when replacing, Stefan Monnier, 2020/12/01
- [elpa] externals/el-search 672def6 034/332: fix whitespace, Stefan Monnier, 2020/12/01
- [elpa] externals/el-search daa7f92 039/332: improve docs; new: el-search-defpattern; add some pattern types, Stefan Monnier, 2020/12/01
- [elpa] externals/el-search e14236a 038/332: fix whitespace, Stefan Monnier, 2020/12/01
- [elpa] externals/el-search 00d6af1 040/332: remove search wrapping functionality, Stefan Monnier, 2020/12/01
- [elpa] externals/el-search 3b5cce3 043/332: fix compiler errors and warnings, Stefan Monnier, 2020/12/01
- [elpa] externals/el-search 06af085 044/332: edit TODO list, Stefan Monnier, 2020/12/01
- [elpa] externals/el-search ec0c3e8 053/332: el-search: new pattern type `not', Stefan Monnier, 2020/12/01
- [elpa] externals/el-search 0809f99 072/332: New user option: el-search-use-sloppy-strings, Stefan Monnier, 2020/12/01
- [elpa] externals/el-search ba82854 022/332: rename a local variable, Stefan Monnier, 2020/12/01