[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 0da07c0 06/22: some doc tweaks
From: |
Michael Heerdegen |
Subject: |
[elpa] master 0da07c0 06/22: some doc tweaks |
Date: |
Sat, 31 Oct 2015 18:41:36 +0000 |
branch: master
commit 0da07c0f5bafbf1acc7026640daa5757a0681765
Author: Michael Heerdegen <address@hidden>
Commit: Michael Heerdegen <address@hidden>
some doc tweaks
---
packages/el-search/el-search.el | 21 +++++++++------------
1 files changed, 9 insertions(+), 12 deletions(-)
diff --git a/packages/el-search/el-search.el b/packages/el-search/el-search.el
index ba53cbc..1107a10 100644
--- a/packages/el-search/el-search.el
+++ b/packages/el-search/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] master updated (7507951 -> a91ed2f), Michael Heerdegen, 2015/10/31
- [elpa] master 65369d8 02/22: arrange we can use `call-interactively' when coming from isearch, Michael Heerdegen, 2015/10/31
- [elpa] master 723bb57 08/22: fix el-search--repair-replacement-layout: don't move when replacing, Michael Heerdegen, 2015/10/31
- [elpa] master f7207e1 01/22: call syntax functions less often for better efficiency, Michael Heerdegen, 2015/10/31
- [elpa] master 0da07c0 06/22: some doc tweaks,
Michael Heerdegen <=
- [elpa] master a621d16 04/22: remove not so useful message of how to repeat search, Michael Heerdegen, 2015/10/31
- [elpa] master 3459015 03/22: allow search wrapping, Michael Heerdegen, 2015/10/31
- [elpa] master ef3e3a0 07/22: rename a local variable, Michael Heerdegen, 2015/10/31
- [elpa] master d020482 05/22: change a TODO entry; no code change, Michael Heerdegen, 2015/10/31
- [elpa] master 113e0fd 11/22: fix whitespace, Michael Heerdegen, 2015/10/31
- [elpa] master 7d645e6 18/22: fix whitespace, Michael Heerdegen, 2015/10/31
- [elpa] master 61c3b71 13/22: require cl-lib only at compile time, Michael Heerdegen, 2015/10/31
- [elpa] master 1a1a49d 17/22: spelling fixes, Michael Heerdegen, 2015/10/31
- [elpa] master c546111 14/22: on-screen: bump version, Michael Heerdegen, 2015/10/31
- [elpa] master 18683a6 09/22: fix el-search-hl-post-command-fun auto-removal, Michael Heerdegen, 2015/10/31