emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 6ca94eb 2/3: Fix last commit


From: Eli Zaretskii
Subject: [Emacs-diffs] master 6ca94eb 2/3: Fix last commit
Date: Sat, 13 Jul 2019 03:21:51 -0400 (EDT)

branch: master
commit 6ca94eb74902f7eb7cef843cc5298f5106d1854e
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    Fix last commit
    
    * etc/NEWS: Fix formatting and punctuation of last change.
    
    * lisp/isearch.el (isearch-highlight-regexp)
    (isearch-highlight-lines-matching-regexp): Doc fix.
---
 etc/NEWS        |  2 +-
 lisp/isearch.el | 16 ++++++++--------
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/etc/NEWS b/etc/NEWS
index e04760a..451534a 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1124,7 +1124,7 @@ highlight in one iteration while processing the full 
buffer.
 
 +++
 'M-s h l' invokes highlight-lines-matching-regexp using the search
-string to highlight lines matching the search string. This is similar
+string to highlight lines matching the search string.  This is similar
 to the existing binding 'M-s h r' (highlight-regexp) that highlights
 JUST the search string.
 
diff --git a/lisp/isearch.el b/lisp/isearch.el
index e0f3f05..1aea539 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -2351,8 +2351,8 @@ characters in that string."
   "Run HI-LOCK-FUNC to exit isearch, leaving the matches highlighted.
 This is the internal function used by `isearch-highlight-regexp'
 and `isearch-highlight-lines-matching-regexp' to invoke
-HI-LOCK-FUNC (either `highlight-regexp' or
-`highlight-lines-matching-regexp' respectively)."
+HI-LOCK-FUNC (either `highlight-regexp' or `highlight-lines-matching-regexp',
+respectively)."
   (let (
        ;; Set `isearch-recursive-edit' to nil to prevent calling
        ;; `exit-recursive-edit' in `isearch-done' that terminates
@@ -2385,16 +2385,16 @@ HI-LOCK-FUNC (either `highlight-regexp' or
   (and isearch-recursive-edit (exit-recursive-edit)))
 
 (defun isearch-highlight-regexp ()
-  "Exit Isearch mode, and call `highlight-regexp' with its regexp
-argument from the last search, and the face from
-`hi-lock-read-face-name'."
+  "Exit Isearch mode and call `highlight-regexp'.
+The arguments passed to `highlight-regexp' are the regexp from
+the last search and the face from `hi-lock-read-face-name'."
   (interactive)
   (isearch--highlight-regexp-or-lines 'highlight-regexp))
 
 (defun isearch-highlight-lines-matching-regexp ()
-  "Exit Isearch mode, and call `highlight-lines-matching-regexp'
-with its regexp argument from the last search, and the face from
-`hi-lock-read-face-name'."
+  "Exit Isearch mode and call `highlight-lines-matching-regexp'.
+The arguments passed to `highlight-lines-matching-regexp' are the
+regexp from the last search and the face from `hi-lock-read-face-name'."
   (interactive)
   (isearch--highlight-regexp-or-lines 'highlight-lines-matching-regexp))
 



reply via email to

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